Soliton Protocol Validation Suite - SWI3S Peripheral Validation APIs
A Python SDK for automating the Soliton Protocol Validation Suite - "SWI3S Peripheral Validation Plugin".
This package provides a high-level Python interface for interacting with the Soliton "SWI3S Peripheral Validation Plugin" application for configuring, controlling, and automating SWI3S Peripheral Validation workflows through the Protocol Validation Suite (PVS). The package exposes high-level Python APIs that communicate with the underlying SWI3S Peripheral Validation service using gRPC, enabling automated validation, protocol configuration, monitoring, and test execution.
Features
- Python interface for SWI3S Peripheral Validation automation and validation
- gRPC-based communication with backend services
- High-level APIs for protocol configuration and execution
- Typed request and response models
- Integrated monitoring and acquisition support
- Example applications for quick integration
Pre-requisite
- Protocol Validation Suite (PVS) application and SWI3S Peripheral Validation Plugin Installed. (If not please reach out to
pvs.support@solitontech.com) - Python 3.12 or later
Python Dependencies Requirement
- grpcio
- protobuf
- protocol-validation-suite-framework-apis
All the above python dependencies are installed automatically when installing the package.
Installation
pip install protocol-validation-suite-swi3s-peripheral-validation-apis
Basic Usage
from Protocol_Validation_Suite_SWI3S_Peripheral_APIs import SWI3SPeripheralAPIs
api = SWI3SPeripheralAPIs()
# Launch and connect to the service
api.launch_server()
# Execute required operations
# ...
# Close the connection
api.close_server()
Refer to the included example scripts for complete workflow demonstrations.
Package Contents
Protocol_Validation_Suite_SWI3S_Peripheral_APIs/
Contains:
- Core API implementation
- gRPC client wrappers
- Generated protobuf stubs
- Request and response models
- Utility modules
Examples/
Contains sample scripts demonstrating common SWI3S Peripheral validation workflows.
Architecture
This package acts as a Python client SDK that communicates with the underlying SWI3S Peripheral validation service through gRPC. Protocol validation logic, execution, and device interaction are handled by the backend service, while this package provides a simplified Python interface for automation and integration.
Compatibility
| Component | Version |
|---|---|
| Python | 3.12+ |
| grpcio | 1.81.1+ |
| protobuf | 6.33.5+ |
| tabulate | 0.9.0+ |
Main API Operations
| Method | Description |
|---|---|
configure_swi3s_timing() |
Configure SWI3S timing parameters |
configure_bus_voltage() |
Configure SWI3S bus voltage settings |
swi3s_start() |
Start SWI3S communication |
swi3s_stop() |
Stop SWI3S communication |
configure_swi3s_transport_pattern() |
Configure SWI3S transport pattern settings |
swi3s_ping_get_status() |
Send Get Status Ping commands |
swi3s_read_setup() |
Configure SWI3S read operations |
swi3s_write_a32() |
Write data to SWI3S registers |
start_of_phase_marker() |
Generate Start of Phase Marker operations |
swi3s_announce_exit_dormant() |
Announce device exit from dormant mode |
swi3s_announce_sspa() |
Announce SSPA configuration |
swi3s_bus_reset() |
Perform SWI3S bus reset operations |
swi3s_commit_dscr() |
Commit DSCR configuration |
swi3s_commit_sscr() |
Commit SSCR configuration |
swi3s_read_data() |
Read data from SWI3S devices |
swi3s_start_audio() |
Start audio streaming |
swi3s_stop_audio() |
Stop audio streaming |
swi3s_write_unblock() |
Send Write Unblock commands |
i3s_monitor_setup() |
Configure I3S monitoring |
swi3s_monitoracq_start() |
Start monitor acquisition |
swi3s_monitoracq_stop() |
Stop monitor acquisition |
Configuration Utilities
| Method | Description |
|---|---|
update_frame() |
Update frame configuration folders |
setup_configure_frame() |
Generate and configure frame files and visualizer outputs |
setup_Configure_Source_payload() |
Configure source payload generation settings |
setup_configure_Sink_Payload() |
Configure sink payload settings |
extract_payload_data() |
Extract (and optionally decode) payload samples for one Data Port / Channel. |
For more detailed information , please refer the Soliton_SWI3S_Python_Automation_APIs_User_Manual.pdf
License
Proprietary
Copyright © Soliton Technologies.
Redistribution, modification, or distribution of this package without prior authorization is prohibited.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file protocol_validation_suite_swi3s_peripheral_validation_apis-26.7.6.tar.gz.
File metadata
- Download URL: protocol_validation_suite_swi3s_peripheral_validation_apis-26.7.6.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88a5df4e3de9f4a5cda9c4cec2feec94cb94a7ea3a9bc2b9d65728b2d78b7fc9
|
|
| MD5 |
a08e41eebe65cf53a8038f926b4dd7c8
|
|
| BLAKE2b-256 |
b91a9e1e8d32b221e6aad4318c1cefaf009d74b983a4fba2b4ea90551420e9ae
|
File details
Details for the file protocol_validation_suite_swi3s_peripheral_validation_apis-26.7.6-py3-none-any.whl.
File metadata
- Download URL: protocol_validation_suite_swi3s_peripheral_validation_apis-26.7.6-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fcabc7eda26b41b001860ad53fed7262ab208a281ac38b7d25423dbd071b82c
|
|
| MD5 |
6e9beb4dbcdf86f715fd83ad96269cad
|
|
| BLAKE2b-256 |
116601b7a35001dd74c399fd1d8874e998dd67f900be751bd205d81dedbe02b7
|