Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
radio_cli_commands.h File Reference

Radio CLI commands. More...

#include <embedded_cli.h>
Include dependency graph for radio_cli_commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define zw_init_ENABLE   1
#define zw_region_set_ENABLE   1
#define zw_region_list_ENABLE   1
#define zw_homeid_set_ENABLE   1
#define zw_nodeid_set_ENABLE   1
#define tx_ENABLE   1
#define zw_payload_set_ENABLE   1
#define zw_tx_channel_set_ENABLE   1
#define zw_tx_power_set_ENABLE   1
#define zw_tx_power_index_list_ENABLE   1
#define zw_tx_lbt_set_ENABLE   1
#define zw_tx_delay_set_ENABLE   1
#define zw_tx_config_set_ENABLE   1
#define zw_tx_max_power_set_ENABLE   1
#define zw_classic_tx_power_enable_ENABLE   1
#define zw_classic_tx_power_set_ENABLE   1
#define zw_classic_tx_power_adjust_set_ENABLE   1
#define zw_classic_tx_power_attenuation_set_ENABLE   1
#define zw_radio_tx_continues_set_ENABLE   1
#define rx_ENABLE   1
#define zw_rx_channel_set_ENABLE   1
#define zw_radio_rssi_get_ENABLE   1
#define zw_radio_rssi_get_all_ENABLE   1
#define zw_radio_rssi_config_set_ENABLE   1
#define zw_radio_rf_debug_set_ENABLE   1
#define zw_radio_rf_debug_reg_setting_list_ENABLE   1
#define zw_stats_get_ENABLE   1
#define zw_stats_clear_ENABLE   1
#define timestamp_ENABLE   1
#define status_ENABLE   1
#define reset_ENABLE   1
#define version_ENABLE   1
#define dump_ft_mp_ENABLE   1
#define cal_xtal_ENABLE   1
#define gpio_pulse_ENABLE   1
#define gpio_output_ENABLE   1
#define gpio_input_ENABLE   1
#define gpio_set_ENABLE   1
#define gpio_get_ENABLE   1
#define scripting_ENABLE   1
#define CLI_COMMAND_ADD(CMD_ID, CMD, HELP, TOKENIZE, CONTEXT)

Functions

void cli_commands_init (EmbeddedCli *cli)
void cli_command_execute (char *cmdStr, size_t length)

Detailed Description

Radio CLI commands.


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


Macro Definition Documentation

◆ 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

#define reset_ENABLE   1

◆ rx_ENABLE

#define rx_ENABLE   1

◆ scripting_ENABLE

#define scripting_ENABLE   1

Enable/disable scripting commands - script, run and wait

◆ status_ENABLE

#define status_ENABLE   1

◆ timestamp_ENABLE

#define timestamp_ENABLE   1

◆ tx_ENABLE

#define tx_ENABLE   1

◆ version_ENABLE

#define version_ENABLE   1

◆ 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

#define zw_init_ENABLE   1

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

Function Documentation

◆ cli_command_execute()

void cli_command_execute ( char * cmdStr,
size_t length )

Execute cmdStr

Parameters
[in]cmdStr
[in]length

◆ cli_commands_init()

void cli_commands_init ( EmbeddedCli * cli)

Initialize the CLI and add commands

Parameters
[in]cli