sl_cli_instance_parameters_t Struct Reference

The structure defining the parameters for creating a CLI instance.

#include <sl_cli_types.h>

Data Fields

const char * task_name
Task name.
sl_iostream_t * iostream_handle
IOstream handle.
sl_cli_command_group_t * default_command_group
Command_group.
osThreadId_t thread_id
Thread ID.
void * thread_cb
Thread control block.
void * stack
Pointer to the stack.
uint32_t stack_size
Stack size.
osPriority_t prio
Task priority.
uint32_t start_delay_ms
Task start delay.
uint32_t loop_delay_ms
Task loop delay.

The structure defining the parameters for creating a CLI instance.

Field Documentation

task_name

const char* sl_cli_instance_parameters_t::task_name

Task name.

iostream_handle

sl_iostream_t * sl_cli_instance_parameters_t::iostream_handle

IOstream handle.

default_command_group

sl_cli_command_group_t * sl_cli_instance_parameters_t::default_command_group

Command_group.

thread_id

osThreadId_t sl_cli_instance_parameters_t::thread_id

Thread ID.

thread_cb

void* sl_cli_instance_parameters_t::thread_cb

Thread control block.

Can be set to NULL for dynamic allocation.

stack

void* sl_cli_instance_parameters_t::stack

Pointer to the stack.

Can be set to NULL for dynamic allocation.

stack_size

uint32_t sl_cli_instance_parameters_t::stack_size

Stack size.

prio

osPriority_t sl_cli_instance_parameters_t::prio

Task priority.

start_delay_ms

uint32_t sl_cli_instance_parameters_t::start_delay_ms

Task start delay.

loop_delay_ms

uint32_t sl_cli_instance_parameters_t::loop_delay_ms

Task loop delay.