Why every protocol gets an interop suite
Every OT Fabric protocol is tested against independent implementations. Sixteen interop suites package 93 reference stacks as containers behind one contract, test them against each other first, and record what they find in our code and in theirs.

A protocol library that only passes its own tests proves very little. Two implementations written by the same people tend to share the same misreading of the spec, and a client tested against its own server will agree with itself forever. Industrial devices are less forgiving: a meter, a PLC or a charger was built by someone else, years ago, against their own reading of the standard.
So every OT Fabric protocol comes with an interoperability suite: independent, established stacks packaged as containers, with deterministic fixtures and a common contract. Our libraries and tools are tested against them in both directions before a release says it works.
Sixteen suites, 93 reference stacks
| Protocol | Suite | Reference implementations |
|---|---|---|
| Modbus | modbus-interop | libmodbus (C), PyModbus (Python), digitalpetri/modbus (Java), NModbus (C#), tokio-modbus (Rust), j2mod (Java), jsmodbus (JavaScript), modbus-esp8266 (C++), modbus4j (Java, built locally, GPL-3.0); over TCP, and over UDP and RTU over TCP where a stack has them |
| OPC UA | opcua-interop | open62541 (C), Eclipse Milo (Java), async-opcua (Rust), UA-.NETStandard (C#), node-opcua (TypeScript), opcua-asyncio (Python) |
| BACnet/IP | bacnet-interop | BACnet Stack (C), BACpypes3 (Python), legacy BACpypes (Python), BACnet4J (Java), System.IO.BACnet (C#), worldiety/bacnet (Go), cB-Sigma bacnet (Go), ulbios/bacnet (Go), @bacnet-js/client (TypeScript), as devices, and six of them also as clients to test a server |
| Siemens S7 | snap7-interop | Snap7 (C++), python-snap7 (Python) |
| IEC 60870-5 (101, 102, 103, 104) | iec60870-5-interop | IEC 101: lib60870 (C), cB-Sigma iec60870 (Go), digitalpetri iec60870 (Java). IEC 102: gisce iec870ree (Python), REE profile. IEC 103: vitusdong iec103-dotnet (C#), ARIEC103 (C#), Open103 (C++), go-iecp5 cs103 (Go). IEC 104: lib60870 (C), OpenMUC j60870 (Java), wendy512/iec104 (Go), cB-Sigma iec60870 (Go), part5 (Go) |
| IEC 61850 (MMS, GOOSE, Sampled Values) | iec61850-interop | libiec61850 (C), IEC61850bean (Java), dscsystems/go-iec61850 (Go), iec61850-rust (Rust) |
| DNP3 | dnp3-interop | opendnp3 (C++), DSC go-dnp3 (Go), dnp3py (Python) |
| OCPP | ocpp-interop | The Mobility House ocpp (Python), ChargeTimeEU Java-OCA-OCPP (Java), ocpp-go (Go), EVerest libocpp (C++), CitrineOS (TypeScript) |
| OpenADR | openadr-interop | OpenLEADR (Rust), ElaadNL openadr3-client (Python), plus a specification-driven conformance suite |
| IEEE 2030.5 | ieee20305-interop | ANU Envoy (Python), GridAPPS-D (Go), DER Security py20305 (Python), EPRI client (C) |
| EtherNet/IP | ethernetip-interop | OpENer (C), EIPScanner (C++), pycomm3 (Python), cpppo (Python), libplctag (C), gologix (Go), pylogix (Python), etherip (Java), eip-rs (Rust), node-ethernet-ip (TypeScript), EEIP.NET (C#), loki-os go-ethernet-ip (Go) |
| PROFINET | profinet-interop | rt-labs p-net (C), pnio-rs (Rust), profinet-py (Python), pnio-dcp (Python); the MRP ring nodes umrp and microchip-ung/mrp, Net-SNMP, Wireshark and scapy are test tools, not counted as PROFINET stacks |
| CAN bus | canbus-interop | can-utils with the Linux kernel’s ISO-TP (C), python-can (Python), socketcan-rs (Rust), Scapy (Python), python-can-isotp (Python), and cantools and canmatrix (Python) for DBC, KCD and ARXML, on Linux virtual CAN |
| CANopen (on CAN) | canopen-interop | CANopenNode (C), Lely CANopen (C and C++), python canopen (Python), each as device and as master, on Linux virtual CAN |
| KNX | knx-interop | Calimero (Java) as server and tools, knxd (C++), xknx (Python), KNXUltimate (TypeScript), plus a raw KNXnet/IP probe for negative tests |
| Sparkplug B (profile over MQTT) | sparkplugb-interop | Eclipse Tahu (Java), Eclipse Tahu sparkplug-client (JavaScript), pysparkplug (Python), SparkplugNet (C#), srad (Rust), sparkplughost (Go), on four MQTT brokers |
SunSpec is the exception: it is a register model on top of Modbus, so go-sunspec is tested through its own server, offline decoding and a weekly comparison with the SunSpec Alliance’s model definitions, and its Modbus layer is covered by modbus-interop.
We pick references that are independent of each other and of us, widely used, and written in different languages, so that one shared misreading is unlikely to hide in all of them. The ecosystem map marks every stack a suite runs.
How a suite is built
Each suite is its own repository with the same shape:
- Adapters, not forks. A thin adapter wraps each upstream stack, pinned to an exact release or commit with checksums of its dependencies, and built into a multi-arch image that runs as a non-root user.
- One container contract. Every image offers the same commands:
server(serve a fixture),client <operation>(one operation, one JSON result),print-capabilitiesandprint-fixture. A test can swap libmodbus for tokio-modbus, or CitrineOS for The Mobility House, without changing a line. - Deterministic fixtures. A fixture describes a device: its registers, objects or points with their values, its controls and how they answer, its files. Every server adapter serves the same fixture, so every client must read the same answer.
- Watching upstream. Most suites run a weekly workflow that builds and self-tests the latest upstream release and keeps an issue open while a pin is behind; the youngest rebuild their pins nightly.
Capabilities, not assumptions
Reference stacks do not all support the same things. Not every Modbus stack has FC22 or Read Device Identification, only one IEC 104 stack has the application-layer security of IEC 62351-5, and EVerest libocpp is a charging station only. Each image declares what it supports:
docker run --rm ghcr.io/otfabric/modbus-interop-libmodbus:<tag> print-capabilitiesThe tests ask first and skip, rather than fail, what a reference does not offer, and every skip carries its reason. A capability is declared only when the suite’s own tests exercise it. A green run means what it says.
The references test each other first
Before a suite is used against our code, it tests its references against each other: every client against every server, every case, and each result checked against the fixture. In the OCPP suite that is every station against every CSMS, in every version, with requests from both ends, over TLS and with compression. Its v0.4.1 run has 2444 passing exchanges, 308 skipped as unsupported and no failures.
That run also had 31 known issues. A defect in a reference is not hidden and not counted as a pass: it is recorded with its reproduction, often with the line of upstream code that causes it, and reported as a known issue. When an entry no longer reproduces, the run fails, so the list cannot go stale and a pin can move.
Then our code, in both directions
A library runs its own scenarios against the images, in both roles: our client against every reference server, and every reference client against our server. Some recent results:
- go-ocpp: 1458 scenarios pass against five stacks in both roles, none fail, with security profiles 1 to 3, compression and OCPP 2.1 against three independent implementations.
- go-bacnet: its client against nine reference devices and the clients of six stacks against its server, none fail; the skips are services a stack does not have.
- go-modbus: client and server against nine Modbus stacks in both directions, none fail, and the client over UDP and RTU over TCP against the four stacks that have those transports.
- go-openadr: 24 of 24 scenarios of the openadr-interop conformance suite.
- go-dnp3: master against every reference outstation and every reference master against its outstation, over TCP, TLS, UDP and serial.
- go-opcua: client and server against all six OPC UA stacks in both directions, with 1280 verified ledger rows, plus PubSub against open62541 and UA-.NETStandard, UA JSON over HTTPS and WebSockets against UA-.NETStandard, the GDS pull model against the UA-.NETStandard Global Discovery Server, and event history and certificate management from every peer client.
- go-ieee20305: its client and device agent against the Envoy and GridAPPS-D servers, and the GridAPPS-D, py20305 and EPRI clients against its server, in both editions and with the CSIP and CSIP-AUS fixtures.
- go-iec60870-5: IEC 104 client and server against lib60870, j60870, wendy512/iec104, cB-Sigma and part5 in both roles, with IEC 62351-5 application-layer security against cB-Sigma in both directions; IEC 101 against lib60870, cB-Sigma and digitalpetri in both roles, unbalanced and balanced, with five sets of field sizes; its IEC 103 relay against four independent controlling systems; its IEC 102 meter against gisce’s REE controlling station.
- go-iec61850: MMS client and server against all four IEC 61850 stacks in both directions, and GOOSE and Sampled Values against the libiec61850, dscsystems and iec61850-rust publishers and subscribers in both directions, on a Docker bridge. go-mms alone passes 120 MMS scenarios against libiec61850 and against iec61850-rust.
- go-ethernetip: 184 cases pass against twelve stacks in eight languages, in both roles, none fail, with Class 1 I/O against OpENer, EIPScanner and EEIP.NET, multicast with a listen-only connection, and the Logix drivers of pycomm3, eip-rs and node-ethernet-ip reading and writing structures on its emulated controller.
- go-profinet: 248 checks pass on a real Layer 2 network, none fail: its IO-Controller against the p-net and pnio-rs devices, its IO-Device against profinet-py’s controller, DCP against pnio-dcp, MRP rings with cut cables against umrp and microchip-ung/mrp, and its SNMP agent against Net-SNMP, with Wireshark and scapy decoding every frame.
- go-canbus: 170 scenarios pass on Linux virtual CAN, none fail: classical, CAN FD and CAN XL frames in both directions against four SocketCAN clients, ISO-TP against the kernel and python-can-isotp, slcan against python-can and the kernel’s driver, traces with python-can, and DBC, KCD and ARXML decoded and encoded byte for byte against cantools and canmatrix.
- go-canopen: 1,276 scenarios pass on Linux virtual CAN, none fail: SDO, NMT, PDOs, SYNC and EMCY as master and as device against CANopenNode, Lely CANopen and python canopen, LSS against all three, MPDOs and the CiA 302 boot-up with Lely, concise DCFs byte for byte against Lely’s generators, and CiA 402 against python canopen.
- go-knx: 423 results pass in the knx-interop matrix, none fail: tunnelling, routing, twelve datapoint values and the negative probe against Calimero, knxd, xknx and KNXUltimate in both roles, TCP, device management and busmonitor, and KNX IP Secure and Data Secure against xknx and Calimero, with go-knx as the surrogate that Calimero tools send secured telegrams through.
Each protocol’s Testing and interop page in the documentation has the full matrix, and what has not been validated yet.
What it finds
The suites earn their keep by finding things nobody was looking for, on both sides.
In our own code: go-mms encoded and read MMS file directory listings with the wrong tag, so it could not list files on conforming servers, and fifteen more MMS bugs surfaced when the suite grew to every public method. The go-iec61850 server did not send the CommandTermination that the dscsystems controller waits for. The go-modbus server closed the connection on a write whose byte count did not match its quantity, where the specification asks for exception 3. go-bacnet only broadcast to 255.255.255.255 and stopped ReadRange after one page. The go-bacnet client dropped the segments legacy BACpypes sends, five octets longer than the Max APDU it advertised. go-ocpp lost frames on close and refused 20000.0 for an integer field. go-canbus rejected the CAN FD notation that can-utils has written since 2023. go-canopen’s AssignAll failed when the last device took node-ID 127. go-knx numbered its extended search parameters one too high, so its server did not answer xknx’s describe. Each was fixed in a release.
In the references: CitrineOS accepts TLS only from stations that send SNI. opendnp3’s master synchronizes time only when the outstation asks. OpenLEADR answers a forged token with 403 instead of 401. The ElaadNL client names subscription operations as OpenADR 3.0.1 did. The EPRI IEEE 2030.5 client writes its documents in the namespace of a 2.0.4 draft schema. pycomm3 sends each Logix Write Tag twice in one message. The j2mod server answers the second of two file-record sub-requests with the wrong records, and modbus4j writes part of an FC15 or FC16 it then refuses. ulbios/bacnet stays silent where the standard asks for a Reject or an Abort. OpenMUC j60870 1.8.0 closes the connection when it receives a read command. libiec61850’s Sampled Values subscriber drops samples whose smpMod is encoded in two octets, the form its own publisher sends. p-net plugs any module a controller expects instead of reporting the difference, and ties an AR to the RPC activity of its Connect. cantools and canmatrix place an ARXML PDU at the start of its frame, ignoring the offset AUTOSAR gives it. Lely CANopen’s LSS slave answers Fastscan even when it already has a node-ID, and CANopenNode v4.1’s does not answer the identify services. knxd 0.14.73’s tunnel client never sends its disconnect request, and KNXUltimate’s description request names a port it does not listen on. Each suite lists them with their evidence, so anyone building on those stacks can see them too.
What interop is not
Interoperability with several independent stacks is strong evidence, but it is not conformance testing and it is not certification by the OPC Foundation, BACnet International, the Open Charge Alliance, PI, CiA, KNX Association or anyone else. Nor is it a field test: real devices, gateways and certified test equipment behave in ways no open-source stack reproduces. Every protocol page says plainly what has and has not been validated, and interop reports from real installations are very welcome.
Usable by anyone
The suites are client-neutral. They live in their own repositories, contain no library under test, and do not depend on our code, so any implementation in any language can use them. If you maintain a Modbus, OPC UA, BACnet, S7, IEC 104, IEC 61850, DNP3, OCPP, OpenADR, IEEE 2030.5, EtherNet/IP, PROFINET, CAN, CANopen or KNX stack, try them, and if your stack belongs in one, open an issue.