opcda-bridge-client
Cross-platform command-line client for an
opcda-bridge gateway.
Install it with Cargo:
The CLI is versioned independently from the gateway and reusable client library. Prebuilt archives
use opcda-bridge-client-vX.Y.Z tags; a matching gateway version is not required when the wire
protocol and advertised capabilities support the requested operations.
Check compatibility before enabling optional operations:
The command negotiates protocol features without contacting an OPC DA server when the gateway
supports GetGatewayInfo. Use --server PROGID for legacy gateways that only expose per-server
capabilities. full, partial, incompatible, and unknown describe negotiated behavior;
unverified evidence means the protocol ranges overlap but that exact package pair has not been
exercised in CI. The report distinguishes the client binary version from the reusable-library
version implementing its protocol contract. See the repository's
compatibility catalog for release lines and boundary evidence.
Read output contains semantic values. An OPC DA VT_BSTR is returned exactly as supplied by the
server, so a BSTR containing AUT produces "value": "AUT" rather than a display-quoted value.
Browse one bounded page of immediate children:
Use the returned opaque session_id, node_key, and next_page_token to expand a branch or load
the next page:
browse --all is explicit and stops at --max-results (10,000 by default).
The search command performs compatibility-oriented live traversal and streams exact, prefix, or
contains matches:
Search progress is written to stderr. JSON search output is newline-delimited so matches and progress remain incremental, and pressing Ctrl+C drops the active gRPC stream.
For interactive discovery, query the gateway-owned persistent index:
index-search defaults to 50 ranked matches, never falls back to live traversal, and reports
not-indexed, partial, ready, stale, refreshing, or failed status with every result set.
Its JSON output is one object containing matches, has_more, and status; indexed matches
contain exact ItemIDs and breadcrumb labels, never browse-session node keys.
Use opcda-bridge-client --help for all commands. Prebuilt platform binaries are available from
the repository releases page.