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:

  • eAddressMode is the addressing mode to be used (see Section 7.1.1).

  • uAddress is a union containing the necessary address information (only one of the following must be set, depending on the addressing mode selected):

    • u16GroupAddress is the 16-bit group address for the target nodes.

    • u16DestinationAddress is the 16-bit network address of the target.

    • u64DestinationAddress is the 64-bit IEEE/MAC address of the target.

    • eBroadcastMode is the required broadcast mode (see Section 7.1.2).

Parent topic:General Structures