The serial_y_cable Tool
Project description
The serial_y_cable Tool
Usage
basic usage of serial_y_cable:
┌─────────────────┐ ┌────────────────────────────────┐
│ hardware / DUT ├── hardware serial dev ─────┬─────── virtual serial dev 0 ──────┤ application that controls │
└─────────────────┘ e.g.://dev/ttyUSB0 │ /tmp/ttyUSB0-V0 │ the hardware / DUT │
│ └────────────────────────────────┘
│
│ ┌────────────────────────────────┐
└─────── virtual serial dev 1 ──────┤ serial terminal for monitoring │
/tmp/ttyUSB0-V0 │ - e.g. minicom, screen, etc. │
└────────────────────────────────┘
Limitations
For now only monitoring on both virtual devices is implemented (bytes are only copied from the hardware side to the virtual devices).
Requirements
The following modules are needed for serial_y_cable
- pyserial
- key_stroke
You can install them easily from pypi.org:
pip install pyserial key_stroke
The closing word for this week:
Have fun with the serial_y_cable tool!
Thomas@chriesibaum.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
serial_y_cable-0.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for serial_y_cable-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416a5f402ba15b95eebdfa0889515928d83824eb588a1f3a71956760356096a6 |
|
MD5 | d18871ea9c276716c2c24045d5ed7bdd |
|
BLAKE2b-256 | 1a7fc05381244fd97a56cf86d0719341993a8eeb02f4027d2f4cbdb5ba964a82 |