Skip to main content

pymctp-exerciser-serial

TTY/Serial port exerciser support for pymctp.

This package provides an exerciser implementation for interfacing with serial/UART devices to send and receive MCTP packets over serial connections.

Installation

pip install pymctp-exerciser-serial

Requirements

  • pymctp >= 0.1.0
  • pyserial
  • Serial/UART hardware or virtual serial ports

Usage

from pymctp.exerciser import TTYSerialSocket

# Open a serial connection
socket = TTYSerialSocket(
    tty='/dev/ttyUSB0',  # Serial port device
    baudrate=115200,     # Baud rate
    addr=0x20            # Target address
)

# Send/receive MCTP packets
from pymctp.layers.mctp import UartTransport

pkt = UartTransport(...)
socket.send(pkt)

response = socket.recv()

Auto-Registration

This package automatically registers itself with pymctp when installed. You can access it through the exerciser registry:

from pymctp.exerciser import get_exerciser

SerialSocket = get_exerciser('serial')

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymctp_exerciser_serial-0.2.6.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pymctp_exerciser_serial-0.2.6-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pymctp_exerciser_serial-0.2.6.tar.gz.

File metadata

  • Download URL: pymctp_exerciser_serial-0.2.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pymctp_exerciser_serial-0.2.6.tar.gz
Algorithm Hash digest
SHA256 caf261f1c27340a69cb3c7bd7d6ae2f387255c8b2f4db8c4776a2c0f4a5eeb4d
MD5 8fa88614c19a6c1076d082c3af26139c
BLAKE2b-256 8a328b45ca3bc77c485a6982b9703a4e3d21f1348c9c89a7eee69ea8d5e69925

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_serial-0.2.6.tar.gz:

Publisher: publish.yml on jls5177/pymctp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymctp_exerciser_serial-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pymctp_exerciser_serial-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29ceb5888bcd3ff3946e17b1012657edcd8be1fa0247e7b8cfc71cc9b41ebd7f
MD5 703111508264d22a38a753cb0429da7c
BLAKE2b-256 417bfe76587e46d261dcd8123823eb3874970d1cb72e265115580e6bad560af0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_serial-0.2.6-py3-none-any.whl:

Publisher: publish.yml on jls5177/pymctp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 files

0.2.5

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page