common CLI utility for parsing incoming commands More...
Go to the source code of this file.
Macros | |
| #define | TR_ARGUMENT_PARSER_MAX_ARGS (15) |
| Maximum number of arguments that can be parsed from a command line. | |
Functions | |
| void | tr_cli_parse_command (const tr_command_s *cmd_table, int argc, char **argv) |
| Parses a command and executes the appropriate handler. | |
| uint8_t | tr_cli_get_option (int argc, char *argv[], char *opt_string, char **ret_arg) |
| Gets an option from the command line arguments. | |
| uint64_t | tr_dec_or_hex_string_to_int (const char *number_string) |
| Converts a decimal or hexadecimal string to an integer. | |
common CLI utility for parsing incoming commands
SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com