/baudrate

Fork of baudrate.py to run with Python 3

Primary LanguagePythonMIT LicenseMIT

Baudrate.py

Script to test different baudrates of a serial connection. Python 3 port of the original at https://github.com/devttys0/baudrate

Usage

Usage: ./baudrate.py [OPTIONS]

    -p <serial port>       Specify the serial port to use [/dev/ttyUSB0]
    -t <seconds>           Set the timeout period used when switching baudrates in auto detect mode [5]
    -c <num>               Set the minimum ASCII character threshold used during auto detect mode [25]
    -n <name>              Save the resulting serial configuration as <name> and automatically invoke minicom (implies -a)
    -a                     Enable auto detect mode
    -b                     Display supported baud rates and exit
    -q                     Do not display data read from the serial port
    -h                     Display help

Dependencies

pip install pyserial