c95824a65d
Full read-only SDK (src/AVEVA.Historian.Client) implementing the CLAUDE.md required
surface against AVEVA Historian's binary WCF protocol — no native AVEVA runtime
dependency. All operations live-verified against a local Historian:
- ProbeAsync, ReadRawAsync, ReadAggregateAsync, ReadAtTimeAsync, ReadEventsAsync
- BrowseTagNamesAsync, GetTagMetadataAsync (17 native data-type codes mapped)
- GetConnectionStatusAsync, GetStoreForwardStatusAsync, GetSystemParameterAsync
- 108/108 unit + integration tests pass
Includes the reverse-engineering toolkit (tools/AVEVA.Historian.ReverseEngineering)
used to decode the protocol: WCF probes, IL inspection via dnlib, and IL-rewrite
instrumentation (instrument-wcf-{write,read}message etc.) plus the .NET Framework
trace harness (tools/AVEVA.Historian.NativeTraceHarness) for parity testing.
Sanitized handoff evidence under docs/reverse-engineering/. Native AVEVA binaries
(current/, aveva-install-x64/, aveva-install-x86/) are gitignored — fetch separately
from the AVEVA installer.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.4 KiB
1.4 KiB
WCF Status Evidence
Commands:
dotnet run --no-build --project tools\AVEVA.Historian.ReverseEngineering -- wcf-status localhost 32568
dotnet run --no-build --project tools\AVEVA.Historian.ReverseEngineering -- wcf-status localhost 32568 Version
Confirmed:
- The local status endpoint is
net.tcp://localhost:32568/Stat. IStatusServiceContract2is a static WCF contract namedStatin namespaceaa. The managed definitions now includeGetSystemParameter,GETHI,PNGS, andPNGP.GetInterfaceVersionreturns code0, version0on the local 2020 install.- The decompiled
CStatusConnectionWCF.GetServerTimeimplementation is a WCF-path stub that returns success without calling theStatservice. The managed direct call likewise returns code0with size0and no buffer.
Observed sanitized localhost results:
GetSystemTimeZoneName(handle: 0)returns code4and no value.IsDBCaseSensitive(handle: 0)returns code4.GetSystemParameter(handle: 0, "Version")returnsfalsewith no error buffer.
Interpretation:
Statendpoint routing is confirmed, but status operations that require a real client handle are not usable until managed session open is solved.GetServerTimeshould not be promoted into the public SDK as a real server time call from this WCF path; native evidence shows it is a no-op stub here.