Zigbee Protocol Controller 1.6.0
|
#include <map>
#include <vector>
#include <string>
#include "sl_status.h"
#include "attribute_store.h"
Go to the source code of this file.
Typedefs | |
using | handle_args_t = std::vector< std::string > |
Arguments type. More... | |
using | handler_func = sl_status_t(*)(const handle_args_t &arg) |
Handler function callback type. More... | |
using | command_map_t = std::map< std::string, std::pair< std::string, handler_func > > |
Command map object, used to register a set of functions to handle incoming commands. More... | |
Functions | |
void | uic_stdin_add_commands (const command_map_t &append_commands) |
Add commands to command line interface This function is used at compile time to add commands to command line interface. More... | |
void | uic_stdin_set_prompt_string (const std::string &des_prompt_string) |
Set prompt string for command line interface This function sets the prompt string for the CLI. More... | |
int | uic_stdin_get_output_fd () |
Get stdout file number. More... | |
sl_status_t | uic_stdin_handle_command (const char *command) |
Run a command manually from CLI. More... | |
sl_status_t | unify_stdin_attribute_store_log_node (attribute_store_node_t node, bool print_total_child_count=false, bool print_only_n_node=false) |
Pretty-print a tree of nodes in attribute store. Show nodes' ID, data type and value in a similar fashion to tree command. More... | |