Files
histsdk/docs/reverse-engineering/wcf-add-event-tag-latest.json
dohertj2 c95824a65d Initial commit: managed .NET 10 AVEVA Historian SDK + reverse-engineering toolkit
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>
2026-05-04 06:31:48 -04:00

45 lines
1.3 KiB
JSON

[
{
"PayloadAttempt": "ctagmetadata-only",
"PayloadByteCount": 82,
"PayloadSha256": "b5a4a6fe4034eee387b0a101880342ff813bbe43ebb0223153d6c55deb4ec0bc",
"ClientHandle": 1377137158,
"OpenSuccess": true,
"AddReturnCode": 4,
"AddOutputByteCount": 0,
"AddOutputByteArrayLength": null,
"AddOutputSha256": null,
"EventRequestSha256": "bfab8e158182c2267e697e34cba63309f9d0c6370a278b1fad6c6d3ed23f10cf",
"StartSuccess": false,
"QueryHandle": 0,
"ResponseSize": 0,
"ResponseByteCount": null,
"ErrorSize": 0,
"NativeErrorCode": null,
"OpenErrorSize": null,
"OpenNativeErrorCode": null,
"Error": null
},
{
"PayloadAttempt": "vector-count-plus-ctagmetadata",
"PayloadByteCount": 86,
"PayloadSha256": "0de082155d82ca453356af7562086277fc4edd7c8bc09e16812bd66a2aa54d13",
"ClientHandle": 878448276,
"OpenSuccess": true,
"AddReturnCode": 4,
"AddOutputByteCount": 0,
"AddOutputByteArrayLength": null,
"AddOutputSha256": null,
"EventRequestSha256": "bfab8e158182c2267e697e34cba63309f9d0c6370a278b1fad6c6d3ed23f10cf",
"StartSuccess": false,
"QueryHandle": 0,
"ResponseSize": 0,
"ResponseByteCount": null,
"ErrorSize": 0,
"NativeErrorCode": null,
"OpenErrorSize": null,
"OpenNativeErrorCode": null,
"Error": null
}
]