Radio CLI commands.
More...
#include <embedded_cli.h>
Go to the source code of this file.
Radio CLI commands.
SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2024 Trident IoT, LLC https://www.tridentiot.com
◆ cal_xtal_ENABLE
| #define cal_xtal_ENABLE 1 |
◆ CLI_COMMAND_ADD
| #define CLI_COMMAND_ADD |
( |
| CMD_ID, |
|
|
| CMD, |
|
|
| HELP, |
|
|
| TOKENIZE, |
|
|
| CONTEXT ) |
Value: static void cli_command_handler_##CMD_ID(EmbeddedCli *cli, char *args, void *context); \
static const CliCommandBinding cli_command_##CMD_ID __attribute__((used, section("cli_commands_section"))) = { CMD, HELP, TOKENIZE, CONTEXT, cli_command_handler_##CMD_ID }; \
static const void cli_command_handler_##CMD_ID(EmbeddedCli *cli, char *args, void *context)
Macro to add a CLI command. Places the command in a special section
◆ dump_ft_mp_ENABLE
| #define dump_ft_mp_ENABLE 1 |
◆ gpio_get_ENABLE
| #define gpio_get_ENABLE 1 |
◆ gpio_input_ENABLE
| #define gpio_input_ENABLE 1 |
◆ gpio_output_ENABLE
| #define gpio_output_ENABLE 1 |
◆ gpio_pulse_ENABLE
| #define gpio_pulse_ENABLE 1 |
◆ gpio_set_ENABLE
| #define gpio_set_ENABLE 1 |
◆ reset_ENABLE
◆ rx_ENABLE
◆ scripting_ENABLE
| #define scripting_ENABLE 1 |
Enable/disable scripting commands - script, run and wait
◆ status_ENABLE
◆ timestamp_ENABLE
| #define timestamp_ENABLE 1 |
◆ tx_ENABLE
◆ version_ENABLE
◆ zw_classic_tx_power_adjust_set_ENABLE
| #define zw_classic_tx_power_adjust_set_ENABLE 1 |
◆ zw_classic_tx_power_attenuation_set_ENABLE
| #define zw_classic_tx_power_attenuation_set_ENABLE 1 |
◆ zw_classic_tx_power_enable_ENABLE
| #define zw_classic_tx_power_enable_ENABLE 1 |
◆ zw_classic_tx_power_set_ENABLE
| #define zw_classic_tx_power_set_ENABLE 1 |
◆ zw_homeid_set_ENABLE
| #define zw_homeid_set_ENABLE 1 |
◆ zw_init_ENABLE
List of defines for enabling/disabling current implemented CLI commmands set to 1 to enable command, set to 0 to disable command
◆ zw_nodeid_set_ENABLE
| #define zw_nodeid_set_ENABLE 1 |
◆ zw_payload_set_ENABLE
| #define zw_payload_set_ENABLE 1 |
◆ zw_radio_rf_debug_reg_setting_list_ENABLE
| #define zw_radio_rf_debug_reg_setting_list_ENABLE 1 |
◆ zw_radio_rf_debug_set_ENABLE
| #define zw_radio_rf_debug_set_ENABLE 1 |
◆ zw_radio_rssi_config_set_ENABLE
| #define zw_radio_rssi_config_set_ENABLE 1 |
◆ zw_radio_rssi_get_all_ENABLE
| #define zw_radio_rssi_get_all_ENABLE 1 |
◆ zw_radio_rssi_get_ENABLE
| #define zw_radio_rssi_get_ENABLE 1 |
◆ zw_radio_tx_continues_set_ENABLE
| #define zw_radio_tx_continues_set_ENABLE 1 |
◆ zw_region_list_ENABLE
| #define zw_region_list_ENABLE 1 |
◆ zw_region_set_ENABLE
| #define zw_region_set_ENABLE 1 |
◆ zw_rx_channel_set_ENABLE
| #define zw_rx_channel_set_ENABLE 1 |
◆ zw_stats_clear_ENABLE
| #define zw_stats_clear_ENABLE 1 |
◆ zw_stats_get_ENABLE
| #define zw_stats_get_ENABLE 1 |
◆ zw_tx_channel_set_ENABLE
| #define zw_tx_channel_set_ENABLE 1 |
◆ zw_tx_config_set_ENABLE
| #define zw_tx_config_set_ENABLE 1 |
◆ zw_tx_delay_set_ENABLE
| #define zw_tx_delay_set_ENABLE 1 |
◆ zw_tx_lbt_set_ENABLE
| #define zw_tx_lbt_set_ENABLE 1 |
◆ zw_tx_max_power_set_ENABLE
| #define zw_tx_max_power_set_ENABLE 1 |
◆ zw_tx_power_index_list_ENABLE
| #define zw_tx_power_index_list_ENABLE 1 |
◆ zw_tx_power_set_ENABLE
| #define zw_tx_power_set_ENABLE 1 |
◆ cli_command_execute()
| void cli_command_execute |
( |
char * | cmdStr, |
|
|
size_t | length ) |
Execute cmdStr
- Parameters
-
◆ cli_commands_init()
| void cli_commands_init |
( |
EmbeddedCli * | cli | ) |
|
Initialize the CLI and add commands
- Parameters
-