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

ZCL Identify cluster server implementation. More...

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

Go to the source code of this file.

Macros

#define tr_identify_server_printf(...)
#define tr_identify_server_println(...)

Functions

void tr_identify_server_init_cb (zb_uint8_t endpoint)
 Callback fires when the Identify server cluster plugin is initialized.
zb_bool_t tr_identify_server_command_received_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle any Identify server commands.
void tr_identify_server_write_attr_cb (zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value, zb_uint16_t manuf_code)
 Callback fires when an Identify server attribute is about to be written.
zb_bool_t tr_identify_server_identify_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint16_t identify_time)
 Callback that user can declare to handle identify cluster identify command.
zb_bool_t tr_identify_server_identify_query_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint)
 Callback that user can declare to handle identify cluster identify query command.
zb_bool_t tr_identify_server_ez_mode_invoke_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t action)
 Callback that user can declare to handle identify clusterez mode invoke command.
zb_bool_t tr_identify_server_update_commission_state_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t action, zb_uint8_t commission_state_mask)
 Callback that user can declare to handle identify cluster update commission state command.
zb_bool_t tr_identify_server_trigger_effect_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t effect_id, zb_uint8_t effect_variant)
 Callback that user can declare to handle identify cluster trigger effect command.
void tr_identify_server_identify_start_cb (zb_uint8_t endpoint, zb_uint16_t timeout_sec)
 Callback fires when identify behavior is started.
void tr_identify_server_identify_stop_cb (zb_uint8_t endpoint)
 Callback fires when identify behavior stops.
void tr_identify_server_message_sent_cb (zb_bufid_t param)
 Callback fires when identify plugin response has a message sent status This status is based on the APS ack. The status can be pulled from the param buffer using: "zb_zcl_command_send_status_t *cmd_send_status = ZB_BUF_GET_PARAM(param, zb_zcl_command_send_status_t);", and then checking: "cmd_send_status->status", if this equals 0 then the APS ack was received, if non-zero then the APS Ack was not received.
tr_status_t tr_identify_server_start_identifying (zb_uint8_t endpoint, zb_uint16_t timeout_sec)
 API used to start identify on the local device.
tr_status_t tr_identify_server_stop_identifying (zb_uint8_t endpoint)
 API used to stop identify on the local device.
zb_uint16_t tr_identify_server_is_identifying (zb_uint8_t endpoint)
 API used to check if local device is identifing.
void tr_identify_server_init (void)
void tr_identify_server_connection_state_cb (tr_conn_state_e conn_state)

Detailed Description

ZCL Identify cluster server implementation.


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


Macro Definition Documentation

◆ tr_identify_server_printf

#define tr_identify_server_printf ( ...)

debug prints


◆ tr_identify_server_println

#define tr_identify_server_println ( ...)

Function Documentation

◆ tr_identify_server_connection_state_cb()

void tr_identify_server_connection_state_cb ( tr_conn_state_e conn_state)

◆ tr_identify_server_init()

void tr_identify_server_init ( void )

function prototypes consumed by framework