Digi XBee(R) ANSI C Host Library
Data Fields
zcl_command_t Struct Reference

Structure populated by zcl_command_build() with the ZCL header from a received ZCL command frame. More...

#include "zigbee/zcl.h"

Data Fields

const wpan_envelope_t FARenvelope
 envelope for the received command, envelope's payload and length include the ZCL header
 
uint8_t frame_control
 frame control byte from the ZCL header
 
uint16_t mfg_code
 manufacturer code from the ZCL header, in host byte order, or 0x0000 if not mfg specific
 
uint8_t sequence
 sequence byte from the ZCL header
 
uint8_t command
 command byte from the ZCL header
 
const zcl_attribute_base_t FARattributes
 Appropriate list of attributes on this device, related to the command. More...
 
const void FARzcl_payload
 pointer to the ZCL payload (first byte after ZCL header)
 
int16_t length
 length of the ZCL payload
 

Detailed Description

Structure populated by zcl_command_build() with the ZCL header from a received ZCL command frame.

Does not look at the ZCL payload.

Field Documentation

const zcl_attribute_base_t FAR* attributes

Appropriate list of attributes on this device, related to the command.

Based on the direction bit from frame_control and the mfg_code field.

Referenced by _zcl_discover_attributes(), _zcl_read_attributes(), _zcl_write_attributes(), and zcl_command_build().


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