Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_groups_server.h
Go to the documentation of this file.
1
10#ifndef TR_GROUPS_SERVER_H
11#define TR_GROUPS_SERVER_H
12
13#include "tr_af.h"
14#include "zb_zcl_groups.h"
15#include "zb_zcl.h"
16#include "zb_zdo.h"
17#include "zb_aps.h"
18
22#if defined(TR_GROUPS_SERVER_PLUGIN_PRINT_ENABLE) && (TR_GROUPS_SERVER_PLUGIN_PRINT_ENABLE == 1)
23#define tr_groups_server_printf(...) tr_zcl_printf(__VA_ARGS__)
24#define tr_groups_server_println(...) tr_zcl_println(__VA_ARGS__)
25#else
26#define tr_groups_server_printf(...)
27#define tr_groups_server_println(...)
28#endif
29
35
38
45 zb_uint16_t group_id,
46 zb_char_t *group_name);
47
54zb_bool_t tr_groups_server_add_group_if_identifying_cb(zb_bool_t is_identifying,
55 zb_uint8_t endpoint,
56 zb_uint16_t group_id,
57 zb_char_t *group_name);
58
65 zb_uint16_t group_id,
66 zb_char_t *group_name);
67
74 zb_uint8_t group_count,
75 zb_uint16_t *group_id_list);
76
82 zb_uint16_t group_id);
83
88
90
95
96#endif // TR_GROUPS_SERVER_H
zb_bool_t tr_groups_server_remove_all_groups_cb(zb_uint8_t endpoint)
Callback that fires on receipt of groups server cluster remove all groups command.
void tr_groups_server_init_cb(void)
Callback fires when groups server cluster is initialized.
zb_bool_t tr_groups_server_remove_group_cb(zb_uint8_t endpoint, zb_uint16_t group_id)
Callback that fires on receipt of groups server cluster remove group command.
zb_bool_t tr_groups_server_add_group_cb(zb_uint8_t endpoint, zb_uint16_t group_id, zb_char_t *group_name)
Callback that fires on receipt of groups server cluster add group command.
zb_bool_t tr_groups_server_view_group_cb(zb_uint8_t endpoint, zb_uint16_t group_id, zb_char_t *group_name)
Callback that fires on receipt of groups server cluster view group command.
zb_bool_t tr_groups_server_get_group_membership_cb(zb_uint8_t endpoint, zb_uint8_t group_count, zb_uint16_t *group_id_list)
Callback that fires on receipt of groups server cluster get group membership command.
zb_bool_t tr_groups_server_add_group_if_identifying_cb(zb_bool_t is_identifying, zb_uint8_t endpoint, zb_uint16_t group_id, zb_char_t *group_name)
Callback that fires on receipt of groups server cluster add group if identifying command.
Trident application framework include.
void tr_groups_server_init(void)
zb_uint8_t endpoint
Definition tr_nvram_attr.h:23