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>
134 lines
3.6 KiB
JSON
134 lines
3.6 KiB
JSON
{
|
|
"TagName": "OtOpcUaParityTest_001.Counter",
|
|
"Success": true,
|
|
"OpenErrorSize": null,
|
|
"OpenNativeErrorCode": null,
|
|
"IsOriginalAllowedReturnCode": 0,
|
|
"IsOriginalAllowed": true,
|
|
"TagTypeReturnCode": 0,
|
|
"TagType": 1,
|
|
"IsManualReturnCode": 0,
|
|
"IsManual": false,
|
|
"IsValidReturnCode": null,
|
|
"IsValid": null,
|
|
"TagInfoReturnCode": 238,
|
|
"TagMetadataByteCount": 0,
|
|
"TagMetadataByteArrayLength": null,
|
|
"TagMetadataSha256": null,
|
|
"NameBufferAttempts": [
|
|
{
|
|
"Attempt": "u32-count-wide-string",
|
|
"InputByteCount": 66,
|
|
"InputSha256": "2d450a55f392aed0026e9a957fefa3b116aab6ec81912c5d824c6b9a1ff5a4a1",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "u16-count-wide-string",
|
|
"InputByteCount": 64,
|
|
"InputSha256": "6e0ba01e61bbe73fd2110cd66cd54e732ae345ba0413f975baba25b302a003fb",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "wide-string-only",
|
|
"InputByteCount": 62,
|
|
"InputSha256": "90b97239572cbc0f352db1c826228c4aeab0a9925738f667cde509110a65fc1a",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "null-terminated-wide",
|
|
"InputByteCount": 60,
|
|
"InputSha256": "13734171e65d9633a64d0025fa82b1d894aa55075565f0a2133809b436a2f992",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "raw-wide",
|
|
"InputByteCount": 58,
|
|
"InputSha256": "1048dd1c1da72fbab7d8c985e1b06e42bf6b618cd53139440440d306389c825f",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
}
|
|
],
|
|
"IdBufferAttempts": [
|
|
{
|
|
"Attempt": "u32-count-u32-id",
|
|
"InputByteCount": 8,
|
|
"InputSha256": "a3e4bd05f9c03305945a5342cc9c1280a17b197bffc68a189fc63341ae18c828",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "u16-count-u32-id",
|
|
"InputByteCount": 6,
|
|
"InputSha256": "bdcdf14008b0ea9c7d12dcc1601ec581adce867268797b1e458b85e8f6b23d97",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "u32-id-only",
|
|
"InputByteCount": 4,
|
|
"InputSha256": "bfd55125103032e2ab52252b6354327346753235d3a219ca726daf06c48d1afb",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "u32-count-u64-id",
|
|
"InputByteCount": 12,
|
|
"InputSha256": "80b4980428c01fb7144fcb542f4d2c4e36efd98377561a9cffa68564e41b1ff5",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
},
|
|
{
|
|
"Attempt": "u64-id-only",
|
|
"InputByteCount": 8,
|
|
"InputSha256": "b033301d157690e0db9c1c166eb0127e0cf0d675c7777f93b590c92f0772c689",
|
|
"ReturnCode": 238,
|
|
"Sequence": 0,
|
|
"TagInfosSize": 0,
|
|
"TagInfosByteCount": null,
|
|
"TagInfosSha256": null,
|
|
"Error": null
|
|
}
|
|
],
|
|
"Error": null
|
|
}
|