tsZCL_CommandDefinition

This structure contains the details of a command which is supported by the cluster (and can be reported in Command Discovery).

struct tsZCL_CommandDefinition
{
     uint8   u8CommandEnum;
     uint8   u8CommandFlags;
};

Where:

  • u8CommandEnum is the Command ID within the cluster

  • u8CommandFlags is a bitmap containing a set of control flags, as follows:

Bits

Enumeration

Description

0

E_ZCL_CF_RX

Command is generated by the client and received by the server

1

E_ZCL_CF_TX

Command is generated by the server and received by the client

2

-

Reserved

3

E_ZCL_CF_MS

Command is manufacturer-specific

4 - 7

-

Reserved

Parent topic:General Structures