|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
OPC UA Binary client - request builders + response parsers (DETWS_ENABLE_OPCUA_CLIENT). More...
Go to the source code of this file.
OPC UA Binary client - request builders + response parsers (DETWS_ENABLE_OPCUA_CLIENT).
The client side of the OPC UA Binary protocol, the mirror of services/opcua: it builds the request messages a client sends (Hello, OpenSecureChannel, CreateSession, ActivateSession, Read, Browse, CloseSession, CloseSecureChannel) and parses the server's responses, reusing the same little-endian codec (UaWriter / UaReader / NodeId / Variant / DataValue / QualifiedName / LocalizedText) declared in opcua.h.
It is transport-agnostic: every function works on caller-provided byte buffers, so the application owns the outbound socket (for example an Arduino WiFiClient) and just pumps these bytes. An OpcUaClient holds the small amount of per-connection state (SecureChannelId, security TokenId, the session's AuthenticationToken, and the monotonically increasing sequence / request ids).
SecurityPolicy is None (no signing/encryption), matching the server. The response parsers target that encoding (empty diagnostics, null string tables). No heap, no stdlib.
Definition in file opcua_client.h.