Developing with ZBOSS for Zigbee
zb_zcl_set_attr_value_param_s Struct Reference

Declare for change attribute for User Application. More...

#include <zb_zcl_common.h>

Data Fields

zb_uint16_t cluster_id
zb_uint16_t attr_id
union {
   zb_uint8_t   data8
   zb_uint16_t   data16
   zb_uint24_t   data24
   zb_uint32_t   data32
   zb_uint48_t   data48
   zb_ieee_addr_t   data_ieee
   struct {
      zb_uint8_t   size
      zb_uint8_t *   p_data
   }   data_variable

Detailed Description

Declare for change attribute for User Application.

Size of values must be twice as large as maximum size of a possible attribute

Field Documentation

◆ attr_id

zb_uint16_t zb_zcl_set_attr_value_param_s::attr_id

Attribute ID

◆ cluster_id

zb_uint16_t zb_zcl_set_attr_value_param_s::cluster_id

Cluster ID

◆ data16

zb_uint16_t zb_zcl_set_attr_value_param_s::data16

16bit data

◆ data24

zb_uint24_t zb_zcl_set_attr_value_param_s::data24

24bit data

◆ data32

zb_uint32_t zb_zcl_set_attr_value_param_s::data32

32bit data

◆ data48

zb_uint48_t zb_zcl_set_attr_value_param_s::data48

48bit data

◆ data8

zb_uint8_t zb_zcl_set_attr_value_param_s::data8

8bit data

◆ data_ieee

zb_ieee_addr_t zb_zcl_set_attr_value_param_s::data_ieee

64bit data or IEEE address

◆ data_variable

struct { ... } zb_zcl_set_attr_value_param_s::data_variable

Variable size data - string or byte array

◆ p_data

zb_uint8_t* zb_zcl_set_attr_value_param_s::p_data

Pointer of data

◆ size

zb_uint8_t zb_zcl_set_attr_value_param_s::size

Size of data (byte)

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