Ultra simple command line serial client.
An ultra simple command line serial client.
Install it using
pip install nanocom
and connect to your serial port using
nanocom --port /dev/ttyUSB0 --baudrate 115200
nanocom --help will display all the cli options. The following options
The path to the serial port. On macOS it will be something like
/dev/tty.usbserial and on Linux probably something like
option is required.
The baudrate of the serial port. This is typically something like
115200 but any integer is accepted. If not given, this option defaults to
A character map,
value pair, such that when the
key character is
entered into the client the
value string will be sent instead. The
string can be multiple characters and multiple character maps are allowed. An
example would be if you wanted to send a carriage return and a new line when a
new line character was given you would use
--map "\n" "\r\n".
The exit character where the Ctrl key and this character are used to exit the
client. The character must be one of
example if you gave the option
--exit-char \\ then the client would exit when
you pressed Ctrl +
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.