# ComChan
ComChan is a Blazingly Fast Serial monitor for Embedded Systems and Serial Communication.
**Latest Version**: 0.1.0
## Installation
### From crates.io
> [!NOTE]
> `cargo install` NOW AVAILABLE
```bash
cargo install comchan
#Install the binary directly
cargo binstall comchan
```
After installing, check if it has been installed with
```bash
comchan --version
```
### From source
```bash
# Clone from GitHub
git clone git@github.com:Vaishnav-Sabari-Girish/ComChan.git
# Clone from Codeberg
git clone ssh://git@codeberg.org/Vaishnav-Sabari-Girish/ComChan.git
```
```bash
cd ComChan
cargo build --release
cargo run
```
## Common Commands
### Basic Serial Monitor
```bash
comchan -p <port> -r <baud_rate>
# OR
comchan --port <port> --baud <baud_rate>
```
### Verbose Mode
```bash
comchan -p <port> -r <baud_rate> -v
# OR
comchan --port <port> --baud <baud_rate> --verbose
```
### Log Mode
```bash
comchan -p <port> -r <baud_rate> -l <log_file_name>
# OR
comchan --port <port> --baud <baud_rate> --log <log_file_name>
```
For an example log file , get it [here](./test.log)
## Features
- [x] Read incoming Serial data from Serial ports
- [x] Write to Serial port i.e Send data to Serial device.
- [x] Basic logging.
- [ ] Write serial data to a file for later use (can be .txt , .csv and more)
- [ ] Terminal based Serial Plotter (to be implemented with the `--plot` command)
### Legends
- [x] Implemented Features
- [ ] Yet to me implemented