Files
histsdk/docs/reverse-engineering/like-tag-browse-response-latest.json
T
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

52 lines
1.3 KiB
JSON

{
"Scenario": "WCF StartLikeTagNameSearch / GetLikeTagnames",
"CapturedUtc": "2026-05-02T16:21:00Z",
"Server": "<redacted-local-dev-historian>",
"Filter": "OtOpcUaParityTest%",
"Open": {
"HistoryEndpoint": "Hist-Integrated",
"RetrievalEndpoint": "Retr",
"Auth": "Integrated Windows",
"Open2ConnectionMode": 1026
},
"StartLikeTagNameSearch": {
"ReturnCode": 0,
"TagType": 0,
"IsNotLike": false
},
"GetLikeTagnames": {
"ReturnCode": 0,
"IsMore": false,
"TagNameBufferSize": 66,
"ByteCount": 66,
"Sha256": "2d450a55f392aed0026e9a957fefa3b116aab6ec81912c5d824c6b9a1ff5a4a1",
"Hex": [
"01 00 00 00 1D 00 00 00 4F 00 74 00 4F 00 70 00",
"63 00 55 00 61 00 50 00 61 00 72 00 69 00 74 00",
"79 00 54 00 65 00 73 00 74 00 5F 00 30 00 30 00",
"31 00 2E 00 43 00 6F 00 75 00 6E 00 74 00 65 00",
"72 00"
],
"ObservedFields": [
{
"Offset": "0x0000",
"Type": "uint32",
"Name": "TagCount",
"Value": 1
},
{
"Offset": "0x0004",
"Type": "uint32",
"Name": "TagNameCharLength",
"Value": 29
},
{
"Offset": "0x0008",
"Type": "UTF-16LE",
"Name": "TagName",
"Value": "OtOpcUaParityTest_001.Counter"
}
]
}
}