Skip to main content

pymctp-exerciser-aardvark

Total Phase Aardvark I2C exerciser support for pymctp.

This package provides an exerciser implementation for interfacing with Total Phase Aardvark I2C/SPI adapters to send and receive MCTP packets over I2C.

Installation

pip install pymctp-exerciser-aardvark

Requirements

  • pymctp >= 0.1.0
  • pyaardvark >= 0.7.1
  • Total Phase Aardvark I2C/SPI adapter hardware

Usage

from pymctp.exerciser import AardvarkI2CSocket

# List available Aardvark devices
AardvarkI2CSocket.list_devices()

# Open a connection
socket = AardvarkI2CSocket(
    port=0,  # Device port number
    addr=0x20,  # Target I2C address
    bitrate=100  # I2C bitrate in kHz
)

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

pkt = SmbusTransport(...)
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

AardvarkSocket = get_exerciser('aardvark')

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_aardvark-0.2.6.tar.gz (6.4 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_aardvark-0.2.6-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pymctp_exerciser_aardvark-0.2.6.tar.gz
Algorithm Hash digest
SHA256 7e25a2da7736e5c3c0ec581738c395393fdf9e250002bc52f4dd9225070b91ad
MD5 712ee29139ec4c9422b3e97f125c43d4
BLAKE2b-256 1c80c8806ebcd8319c80a2445e13751b7f22bd29f9e47e9cac1fd85f362d7452

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_aardvark-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_aardvark-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pymctp_exerciser_aardvark-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a520a1e39bfdc9166143e49eda71cfee8630bc8794ab255f0f7cee3de399ec
MD5 4ac621059f27e7390349161e29d22826
BLAKE2b-256 391d7649b928aa0d2c99c204ec04cdf9329bc802661dbab8595a3888d8836150

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymctp_exerciser_aardvark-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