Developing with ZBOSS for Zigbee
zb_zcl_scene_table_record_fixed_s Struct Reference

Fixed-size part of the Scene table. More...

#include <zb_zcl_scenes.h>

Data Fields

zb_uint16_t group_id
 Group identifier for the scene. More...
zb_uint16_t transition_time
 Scene transition time.
zb_uint8_t scene_id
 Scene identifier.
zb_uint8_t field_sets_length
 Field set length. More...
zb_uint8_t transition_time_100ms

Detailed Description

Fixed-size part of the Scene table.

Field Documentation

◆ field_sets_length

zb_uint8_t zb_zcl_scene_table_record_fixed_s::field_sets_length

Field set length.

Actual length of the field sets. While the maximal length of the field sets is known, its actual length should be figured out in order to finish reading at a proper point. E. g.: as stated in ZCL spec, subclause, it is not mandatory for a field set to be included in the command for every cluster on the endpoint that has a defined field set. This field can provide and actual length of the field sets thus being able to read only the info required.

◆ group_id

zb_uint16_t zb_zcl_scene_table_record_fixed_s::group_id

Group identifier for the scene.

Can be zero if the scene is not associated with any group

Since value of 0xffff is not appropriate as a group identifier, it is being used as a free record marker in a form of ZB_ZCL_SCENES_FREE_SCENE_TABLE_RECORD macro

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