Skip to content

nocd5/serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serial

CLI tool for serial port connection

Usage

serial -p COM3 -b 9600

Options

Required

  • -p / --port
    Port Name
  • -b / --baud
    Baud Rate

Optional

  •  --data  
    

    Number of Data Bits. default 8

  •  --parity  
    

    Parity Mode. none, even or odd. default none

  •  --stop  
    

    Number of Stop Bits. default 1

  • -y / --txbin
    Binary Send Mode
    parse send string as byte array

    example
    0x56 0x78 0x9ABC
    
    is interpreted as  
    
    [0x56, 0x78, 0xBC, 0x9A]
    
  • -Y / --rxbin
    Binary Receive Mode
    print receive data in HEX format

    example

    if receive character 'A', "0x41" is shown

Others

  • -l / --list
    List COM Ports (Windows Only)

About

CLI tool for serial port connection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages