Skip to content

Arne91/serial_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Logger

This project logs a serial port and writes the content in a file on the system.

The first parameter is the serial port and the seconde the baudrate.

Example

./serial_logger /dev/ttyUSB0 115200

This creates a folder in the home directory with "log_files/YEAR/YEAR-MONTH/YEAR-MONTH-DAY/HHMM.log".

Additionally, the logger writes the output on the screen, where it is called. So it loggs and shows the serial output of e.g. a device.

Per default, the logger writes the timestamp in front of the output. You can prevent the logger from this with an extra option:

./serial_logger /dev/ttyUSB0 115200 false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages