10#ifndef TR_REMOTE_CLI_CLIENT_H
11#define TR_REMOTE_CLI_CLIENT_H
19#if defined(TR_REMOTE_CLI_CLIENT_PLUGIN_PRINT_ENABLE) && (TR_REMOTE_CLI_CLIENT_PLUGIN_PRINT_ENABLE == 1)
20#define tr_remote_cli_client_printf(...) tr_zcl_printf(__VA_ARGS__)
21#define tr_remote_cli_client_println(...) tr_zcl_println(__VA_ARGS__)
23#define tr_remote_cli_client_printf(...)
24#define tr_remote_cli_client_println(...)
49 zb_uint8_t *new_value,
74 zb_uint16_t short_addr,
83 zb_uint16_t poll_rate,
84 zb_uint16_t short_addr,
zb_uint8_t cli_enable
Definition tr_zcl_cmd_structs.h:4007
zb_uint8_t * cli_cmd_resp
Definition tr_zcl_cmd_structs.h:4014
void tr_remote_cli_client_send_cli_command(zb_char_t *command, zb_uint16_t short_addr, zb_uint8_t endpoint)
API to send a CLI command to a remote device.
void tr_remote_cli_client_send_cli_enable(tr_remote_cli_cli_status_arg_t cli_enable, zb_uint16_t poll_rate, zb_uint16_t short_addr, zb_uint8_t endpoint)
API for enabling remote CLI interactive mode on a remote device.
void tr_remote_cli_client_init_cb(zb_uint8_t endpoint)
Callback fires when the Remote CLI client cluster plugin is initialized.
zb_bool_t tr_remote_cli_client_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any Remote CLI client commands.
void tr_remote_cli_client_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 client attribute is about to be written.
zb_bool_t tr_remote_cli_client_cli_command_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t *cli_cmd_resp)
Callback that user can declare to handle remote cli cluster cli command response command.
Trident application framework include.
zb_uint8_t endpoint
Definition tr_nvram_attr.h:176
zb_uint16_t manuf_code
Definition tr_nvram_attr.h:180
zb_uint16_t attr_id
Definition tr_nvram_attr.h:178
void tr_remote_cli_client_init(void)
common defines needed by both ZCL REMOTE CLI cluster server and client implementations
Definition tr_remote_cli_common.h:17