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

Functions used for parsing CLI command arguments. More...

#include "tr_af.h"
#include "tr_cli.h"
+ Include dependency graph for tr_cli_argument_parser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tr_standard_args_s
 

Functions

void tr_print_cli_cmd_status (char *cmd_string, zb_ret_t status)
 API for printing a ZBOSS command status.
 
zb_uint8_t tr_cli_parse_standard_args (tr_standard_args_s *parsed_args_ptr, zb_int_t argc, zb_char_t **argv)
 API for parsing standard arguments used by many CLI commands.
 
void tr_print_cli_arg_struct (tr_standard_args_s *args_struct_ptr)
 debug API for printing the argument structure
 
void tr_print_attr_value (zb_zcl_attr_t *attr_desc, zb_uint8_t *ext_attr_data_p)
 API for printing an attribute value based on its ZCL type.
 
void tr_print_eui64 (zb_ieee_addr_t eui64)
 API for printing an EUI64 in hex with the right byte order.
 
void tr_print_tx_buffer (zb_bufid_t buf, zb_uint8_t *ptr)
 APU for printing the contents of a transmit buffer.
 

Detailed Description

Functions used for parsing CLI command arguments.


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