ZCL library  4.3
ZCL library to manage a Zigbee network
CmdId Class Reference

This Class defines the Command Identifier of a ZCL frame. More...

#include <CmdId.h>

List of all members.

Public Types

enum  Value {
  READ_ATTRIBUTES_CMD = 0x00, READ_ATTRIBUTES_RESPONSE = 0x01, WRITE_ATTRIBUTES = 0x02, WRITE_ATTRIBUTES_UNDIVIDED = 0x03,
  WRITE_ATTRIBUTES_RESPONSE = 0x04, WRITE_ATTRIBUTES_NO_RESPONSE = 0x05, CONFIGURE_REPORTING = 0x06, CONFIGURE_REPORTING_RESPONSE = 0x07,
  READ_REPORTING_CONFIGURATION = 0x08, READ_REPORTING_CONFIGURATION_RESPONSE = 0x09, REPORT_ATTRIBUTES = 0x0a, DEFAULT_RESPONSE = 0x0b,
  DISCOVER_ATTRIBUTES = 0x0c, DISCOVER_ATTRIBUTES_RESPONSE = 0x0d, READ_ATTRIBUTES_STRUCTURED = 0x0e, WRITE_ATTRIBUTES_STRUCTURED = 0x0f,
  WRITE_ATTRIBUTES_STRUCTURED_RESPONSE = 0x10, CLUSTER_SPECIFIC_COMMAND = 0xfe, CMD_ID_UNKNOWN = 0xff
}
 Enumeration constant to specify the Command Identifier of a ZCL frame. More...

Static Public Member Functions

static CmdId::Value fromByte (const byte value)
 Build a CmdId from a byte.

Detailed Description

This Class defines the Command Identifier of a ZCL frame.


Member Enumeration Documentation

Enumeration constant to specify the Command Identifier of a ZCL frame.

Enumerator:
READ_ATTRIBUTES_CMD 

Read attributes command.

READ_ATTRIBUTES_RESPONSE 

Response of a read attributes command.

WRITE_ATTRIBUTES 

Write attributes command.

WRITE_ATTRIBUTES_UNDIVIDED 

Write attributes undivided command.

WRITE_ATTRIBUTES_RESPONSE 

Response of the Write attributes command.

WRITE_ATTRIBUTES_NO_RESPONSE 

Write attributes command with no response.

CONFIGURE_REPORTING 

Configure Reporting command.

CONFIGURE_REPORTING_RESPONSE 

Response of the Configure Reporting command.

READ_REPORTING_CONFIGURATION 

Read Reporting Configuration command.

READ_REPORTING_CONFIGURATION_RESPONSE 

Response of the Read Reporting Configuration command.

REPORT_ATTRIBUTES 

Report attributes.

DEFAULT_RESPONSE 

Default response.

DISCOVER_ATTRIBUTES 

Discover attributes command.

DISCOVER_ATTRIBUTES_RESPONSE 

Response of the Discover attributes command.

READ_ATTRIBUTES_STRUCTURED 

Read attributes structured command.

WRITE_ATTRIBUTES_STRUCTURED 

Write attributes structured command.

WRITE_ATTRIBUTES_STRUCTURED_RESPONSE 

Response of the Write attributes structured command.

CLUSTER_SPECIFIC_COMMAND 

Only for internal use : Indicate that CmdId contains a specific cluster value.

CMD_ID_UNKNOWN 

Only for internal use : Unknown command.


Member Function Documentation

static CmdId::Value CmdId::fromByte ( const byte  value) [inline, static]

Build a CmdId from a byte.

Parameters:
valuethe CmdId as a byte.
Returns:
the CmdId enumeration constant.

The documentation for this class was generated from the following file: