Next: , Previous: , Up: Transports   [Contents]


6.3.4 adapter-transport

Long-lived TCP GDBus client to a starter-configurable-adapter peer. Read mode subscribes to adapter value maps and emits a JSON object of numeric keys; write mode sends a JSON object of numbers via the adapter SetData path.

Mandatory: <address>, <port>, <mode>.

<transport id="stca-rx" plugin="adapter-transport">
  <address>127.0.0.1</address>
  <port>42102</port>
  <mode>read</mode>
</transport>
address

Host of the adapter GDBus TCP endpoint.

port

TCP port (1–65535).

mode

read or write (exclusive per transport instance).

The transport reconnects with exponential backoff if the peer drops.

Tip: prefer this when the vendor protocol already lives in a starter-configurable-adapter plugin. STCS only moves numeric JSON maps (see Configuration Tips).