An open API service indexing awesome lists of open source software.

https://github.com/nocd5/serial

CLI tool for serial port connection
https://github.com/nocd5/serial

Last synced: 4 months ago
JSON representation

CLI tool for serial port connection

Awesome Lists containing this project

README

          

# 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**)