Skip to main content

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


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)

Uploaded Source

Built Distribution

serial_y_cable-0.2.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page