Module cli

Module cli 

Source
Expand description

This module holds the functions that are called from sericom when receiving CLI commands/arguments.

Functions§

get_settings
Gets the settings for the port with the specified baud.
interactive_session
Spawns all of the tasks responsible for maintaining an interactive terminal session.
list_serial_ports
Prints a list of available serial ports to stdout.
open_connection
Opens a serial port for communication with the specified baud.
valid_baud_rate
Used as a ‘value_parser’ for sericom’s clap CLI struct to validate baud rates