nRF5 SDK for Thread and Zigbee v4.1.0
Modules | Macros | Typedefs | Enumerations
ZCL commands shared by all clusters

Modules

 Default response command sending and parsing.
 
 Read attributes request and response sending and parsing.
 
 Write attributes command sending and parsing.
 
 Discover attributes request and response sending and parsing.
 
 Configure reporting command sending and parsing
 
 Report attribute command parsing
 
 Read reporting configuration command sending and parsing
 

Macros

#define ZB_ZCL_BROADCAST_ENDPOINT   0xFF
 ZCL broadcast endpoint.
 
#define ZB_ZCL_BROADCAST_ENDPOINT_CMD_RESP_JITTER   (ZB_MILLISECONDS_TO_BEACON_INTERVAL(500))
 Minimum time delay between responses to ZCL command sent to broadcast endpoint.
 

Typedefs

typedef enum zb_zcl_cmd_e zb_zcl_cmd_t
 ZCL common command IDs. More...
 

Enumerations

enum  zb_zcl_cmd_e {
  ZB_ZCL_CMD_READ_ATTRIB = 0x00, ZB_ZCL_CMD_READ_ATTRIB_RESP = 0x01, ZB_ZCL_CMD_WRITE_ATTRIB = 0x02, ZB_ZCL_CMD_WRITE_ATTRIB_UNDIV = 0x03,
  ZB_ZCL_CMD_WRITE_ATTRIB_RESP = 0x04, ZB_ZCL_CMD_WRITE_ATTRIB_NO_RESP = 0x05, ZB_ZCL_CMD_CONFIG_REPORT = 0x06, ZB_ZCL_CMD_CONFIG_REPORT_RESP = 0x07,
  ZB_ZCL_CMD_READ_REPORT_CFG = 0x08, ZB_ZCL_CMD_READ_REPORT_CFG_RESP = 0x09, ZB_ZCL_CMD_REPORT_ATTRIB = 0x0a, ZB_ZCL_CMD_DEFAULT_RESP = 0x0b,
  ZB_ZCL_CMD_DISC_ATTRIB = 0x0c, ZB_ZCL_CMD_DISC_ATTRIB_RESP = 0x0d, ZB_ZCL_CMD_READ_ATTRIB_STRUCT = 0x0e, ZB_ZCL_CMD_WRITE_ATTRIB_STRUCT = 0x0f,
  ZB_ZCL_CMD_WRITE_ATTRIB_STRUCT_RESP = 0x10, ZB_ZCL_CMD_DISCOVER_COMMANDS_RECEIVED = 0x11, ZB_ZCL_CMD_DISCOVER_COMMANDS_RECEIVED_RES = 0x12, ZB_ZCL_CMD_DISCOVER_COMMANDS_GENERATED = 0x13,
  ZB_ZCL_CMD_DISCOVER_COMMANDS_GENERATED_RES = 0x14, ZB_ZCL_CMD_DISCOVER_ATTR_EXT = 0x15, ZB_ZCL_CMD_DISCOVER_ATTR_EXT_RES = 0x16
}
 ZCL common command IDs. More...
 

Detailed Description

This section describes data structures representing command payloads shared by all clusters, and APIs for sending these commands and parsing their payloads.

Typedef Documentation

typedef enum zb_zcl_cmd_e zb_zcl_cmd_t

ZCL common command IDs.

See also
ZCL spec, clause 2.4
Note
The enumeration does not contain commands not unused in ZB HA profile

Enumeration Type Documentation

ZCL common command IDs.

See also
ZCL spec, clause 2.4
Note
The enumeration does not contain commands not unused in ZB HA profile
Enumerator
ZB_ZCL_CMD_READ_ATTRIB 

Read attributes command

ZB_ZCL_CMD_READ_ATTRIB_RESP 

Read attributes response command

ZB_ZCL_CMD_WRITE_ATTRIB 

Write attributes foundation command

ZB_ZCL_CMD_WRITE_ATTRIB_UNDIV 

Write attributes undivided command

ZB_ZCL_CMD_WRITE_ATTRIB_RESP 

Write attributes response command

ZB_ZCL_CMD_WRITE_ATTRIB_NO_RESP 

Write attributes no response command

ZB_ZCL_CMD_CONFIG_REPORT 

Configure reporting command

ZB_ZCL_CMD_CONFIG_REPORT_RESP 

Configure reporting response command

ZB_ZCL_CMD_READ_REPORT_CFG 

Read reporting config command

ZB_ZCL_CMD_READ_REPORT_CFG_RESP 

Read reporting config response command

ZB_ZCL_CMD_REPORT_ATTRIB 

Report attribute command

ZB_ZCL_CMD_DEFAULT_RESP 

Default response command

ZB_ZCL_CMD_DISC_ATTRIB 

Discover attributes command

ZB_ZCL_CMD_DISC_ATTRIB_RESP 

Discover attributes response command

ZB_ZCL_CMD_READ_ATTRIB_STRUCT 

Read attributes structured

ZB_ZCL_CMD_WRITE_ATTRIB_STRUCT 

Write attributes structured

ZB_ZCL_CMD_WRITE_ATTRIB_STRUCT_RESP 

Write attributes structured response

ZB_ZCL_CMD_DISCOVER_COMMANDS_RECEIVED 

Discover Commands Received command

ZB_ZCL_CMD_DISCOVER_COMMANDS_RECEIVED_RES 

Discover Commands Received response command

ZB_ZCL_CMD_DISCOVER_COMMANDS_GENERATED 

Discover Commands Generated command

ZB_ZCL_CMD_DISCOVER_COMMANDS_GENERATED_RES 

Discover Commands Generated response command

ZB_ZCL_CMD_DISCOVER_ATTR_EXT 

Discover attributes extended command

ZB_ZCL_CMD_DISCOVER_ATTR_EXT_RES 

Discover attributes extended response command


Documentation feedback | Developer Zone | Subscribe | Updated