plugChoose a protocol adapter

Pick the right communication adapter (Modbus, ASCII/SCPI, MQTT, BLE, HTTP) for your simulated device and your SUT.

SPX models can expose signals over protocol adapters so your Software Under Test (SUT) can talk to a simulation as if it were real hardware.

Use this page to pick the adapter that matches your client/driver, then follow either:

  • the adapter reference docs under Communication Adapters, or

  • a runnable baseline from spx-examples (models + tests).

Quick routing

Adapter
When to use
Docs
Example model (spx-examples)

Modbus TCP

PLC/HMI/device drivers using Modbus

ASCII / SCPI

Lab instruments, SCPI drivers

MQTT

IoT telemetry pipelines and brokers

HTTP endpoint

Simple REST callbacks / webhooks

Note on ports (Docker)

Protocol adapters listen on TCP/UDP ports in the SPX Server container. If your SUT runs on the host, you must expose the adapter port(s) in your docker-compose.yml.

For a working baseline, spx-examples/docker-compose.yml already exposes common ports (API 8000, Modbus 502, SCPI/ASCII 5025, ...).

Next steps

Last updated