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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file serial_y_cable-0.2.0.tar.gz.

File metadata

  • Download URL: serial_y_cable-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for serial_y_cable-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3c3d2d8a86ae7734b62bc0311817108ae687c8e1f5404197891f649fcf6a03f7
MD5 4d6058bc49632ba62d8d6493202773e6
BLAKE2b-256 a07581ad4a57c2c611615ea9a8dd93de178dffdc48b4bd979656954b0ddad478

See more details on using hashes here.

File details

Details for the file serial_y_cable-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: serial_y_cable-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for serial_y_cable-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 416a5f402ba15b95eebdfa0889515928d83824eb588a1f3a71956760356096a6
MD5 d18871ea9c276716c2c24045d5ed7bdd
BLAKE2b-256 1a7fc05381244fd97a56cf86d0719341993a8eeb02f4027d2f4cbdb5ba964a82

See more details on using hashes here.

Supported by

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