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

ZCL Remote CLI cluster server implementation. More...

#include "tr_af.h"
#include "tr_remote_cli_common.h"
Include dependency graph for tr_remote_cli_server.h:

Go to the source code of this file.

Macros

#define TR_REMOTE_CLI_SEND_BUFFER_SIZE   4096
#define TR_REMOTE_CLI_SEND_PACKET_PAYLOAD_SIZE   47
#define TR_REMOTE_CLI_SEND_PACKET_DELAY_MS   100
#define COLOR_START_CHAR   '\033'
#define COLOR_END_CHAR   'm'
#define tr_remote_cli_server_printf(...)
#define tr_remote_cli_server_println(...)

Functions

void tr_remote_cli_server_init_cb (zb_uint8_t endpoint)
 Callback fires when the Remote CLI server cluster plugin is initialized.
zb_bool_t tr_remote_cli_server_command_received_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle any Remote CLI server commands.
void tr_remote_cli_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 Remote CLI server attribute is about to be written.
zb_bool_t tr_remote_cli_server_cli_command_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t *cli_cmd)
 Callback that user can declare to handle remote cli cluster cli command command.
zb_bool_t tr_remote_cli_server_enable_remote_cli_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t cli_enable, zb_uint16_t long_poll_interval)
 Callback that user can declare to handle remote cli cluster enable remote cli command.
void tr_remote_cli_server_init (void)

Detailed Description

ZCL Remote CLI cluster server implementation.


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


Macro Definition Documentation

◆ COLOR_END_CHAR

#define COLOR_END_CHAR   'm'

◆ COLOR_START_CHAR

#define COLOR_START_CHAR   '\033'

◆ TR_REMOTE_CLI_SEND_BUFFER_SIZE

#define TR_REMOTE_CLI_SEND_BUFFER_SIZE   4096

◆ TR_REMOTE_CLI_SEND_PACKET_DELAY_MS

#define TR_REMOTE_CLI_SEND_PACKET_DELAY_MS   100

◆ TR_REMOTE_CLI_SEND_PACKET_PAYLOAD_SIZE

#define TR_REMOTE_CLI_SEND_PACKET_PAYLOAD_SIZE   47

◆ tr_remote_cli_server_printf

#define tr_remote_cli_server_printf ( ...)

debug prints


◆ tr_remote_cli_server_println

#define tr_remote_cli_server_println ( ...)

Function Documentation

◆ tr_remote_cli_server_init()

void tr_remote_cli_server_init ( void )

function prototypes consumed by framework