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

Setting up common application test CLI. More...

#include "zpal_uart.h"
+ Include dependency graph for setup_common_cli.h:

Go to the source code of this file.

Functions

void setup_cli (zpal_uart_config_t *p_uart_config)
 Initialize the application CLI.
 
void tr_cli_common_print (const char *message)
 Implementation of the print function for the CLI.
 

Detailed Description

Setting up common application test CLI.


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


Function Documentation

◆ setup_cli()

void setup_cli ( zpal_uart_config_t * p_uart_config)

Initialize the application CLI.

Note: The CLI can be used both as a local or a remote CLI. If used as a local CLI a valid UART configuration must be provided.alignas If used as a remote CLI, a NULL pointer can be passed as UART configuration.

Parameters
[in]p_uart_configPointer UART configuration used by the CLI

◆ tr_cli_common_print()

void tr_cli_common_print ( const char * message)

Implementation of the print function for the CLI.

Parameters
[in]messageString to print to the CLI