Trident IoT Zigbee SDK
Loading...
Searching...
No Matches
tr_scenes_common.h File Reference

common declarations and defines needed by both Scenes Client and Scenes Server More...

#include "tr_af.h"
Include dependency graph for tr_scenes_common.h:

Go to the source code of this file.

Macros

#define TR_SCENES_COMMON_SCENE_NAME_MAX_LEN   16
#define TR_SCENES_COMMON_EXT_LEVEL_CONTROL_LEN   4
#define TR_SCENES_COMMON_EXT_ON_OFF_LEN   4
#define TR_SCENES_COMMON_EXT_DOOR_LOCK_LEN   4
#define TR_SCENES_COMMON_EXT_MAX_LEN

Typedefs

struct { 
   zb_uint8_t   status 
   zb_uint16_t   group_id 
   zb_uint8_t   scene_id 
tr_scenes_server_add_scene_resp_cmd_t
struct { 
   zb_uint8_t   status 
   zb_uint16_t   group_id 
   zb_uint8_t   scene_id 
   zb_uint16_t   transition_time 
   zb_uint8_t   scene_name [TR_SCENES_COMMON_SCENE_NAME_MAX_LEN
   zb_uint8_t   extensions [TR_SCENES_COMMON_EXT_MAX_LEN
tr_scenes_server_view_scene_resp_cmd_t
struct { 
   zb_uint8_t   status 
   zb_uint16_t   group_id 
   zb_uint8_t   scene_id 
tr_scenes_server_remove_scene_resp_cmd_t
struct { 
   zb_uint8_t   status 
   zb_uint16_t   group_id 
tr_scenes_server_remove_all_scenes_resp_cmd_t
struct { 
   zb_uint8_t   status 
   zb_uint16_t   group_id 
   zb_uint8_t   scene_id 
tr_scenes_server_store_scene_resp_cmd_t
struct { 
   zb_uint8_t   status 
   zb_uint8_t   capacity 
   zb_uint16_t   group_id 
   zb_uint8_t   scene_count 
   zb_uint8_t   scene_list [ZB_ZCL_MAX_SCENE_TABLE_RECORDS] 
tr_scenes_server_get_scene_mship_resp_cmd_t

Detailed Description

common declarations and defines needed by both Scenes Client and Scenes Server


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com


Macro Definition Documentation

◆ TR_SCENES_COMMON_EXT_DOOR_LOCK_LEN

#define TR_SCENES_COMMON_EXT_DOOR_LOCK_LEN   4

◆ TR_SCENES_COMMON_EXT_LEVEL_CONTROL_LEN

#define TR_SCENES_COMMON_EXT_LEVEL_CONTROL_LEN   4

◆ TR_SCENES_COMMON_EXT_MAX_LEN

#define TR_SCENES_COMMON_EXT_MAX_LEN
Value:
#define TR_SCENES_COMMON_EXT_ON_OFF_LEN
Definition tr_scenes_common.h:23
#define TR_SCENES_COMMON_EXT_DOOR_LOCK_LEN
Definition tr_scenes_common.h:24
#define TR_SCENES_COMMON_EXT_LEVEL_CONTROL_LEN
Definition tr_scenes_common.h:22

◆ TR_SCENES_COMMON_EXT_ON_OFF_LEN

#define TR_SCENES_COMMON_EXT_ON_OFF_LEN   4

◆ TR_SCENES_COMMON_SCENE_NAME_MAX_LEN

#define TR_SCENES_COMMON_SCENE_NAME_MAX_LEN   16

Typedef Documentation

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_add_scene_resp_cmd_t

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_get_scene_mship_resp_cmd_t

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_remove_all_scenes_resp_cmd_t

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_remove_scene_resp_cmd_t

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_store_scene_resp_cmd_t

◆ [struct]

typedef ZB_PACKED_PRE struct { ... } tr_scenes_server_view_scene_resp_cmd_t

Variable Documentation

◆ capacity

zb_uint8_t capacity

◆ extensions

zb_uint8_t extensions[TR_SCENES_COMMON_EXT_MAX_LEN]

◆ group_id

zb_uint16_t group_id

◆ scene_count

zb_uint8_t scene_count

◆ scene_id

zb_uint8_t scene_id

◆ scene_list

zb_uint8_t scene_list[ZB_ZCL_MAX_SCENE_TABLE_RECORDS]

◆ scene_name

zb_uint8_t scene_name[TR_SCENES_COMMON_SCENE_NAME_MAX_LEN]

◆ status

zb_uint8_t status

◆ transition_time

zb_uint16_t transition_time