Wrong OPC UA status-code constants in three existing drivers (FF-2) #497

Open
opened 2026-07-24 21:00:09 -04:00 by dohertj2 · 0 comments
Owner

Found while implementing SqlPollReader (verified by reflecting over Opc.Ua.StatusCodes against the pinned SDK, not by copying siblings). All PRE-EXISTING, unrelated to the Sql branch, and client-visible (OPC UA clients branch on status): (1) src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Historian.Gateway/Mapping/SampleMapper.cs names 0x800E0000 'BadNoData' — that value is BadServerHalted; BadNoData is 0x809B0000. (2) GalaxyDriver.cs:878 names 0x800B0000 'BadTimeout' — that is BadServiceUnsupported; BadTimeout is 0x800A0000. (3) TwinCATStatusMapper BadTypeMismatch = 0x80730000; real value is 0x80740000. Each needs its own fix + test; do not fold into the Sql work.

Found while implementing SqlPollReader (verified by reflecting over Opc.Ua.StatusCodes against the pinned SDK, not by copying siblings). All PRE-EXISTING, unrelated to the Sql branch, and client-visible (OPC UA clients branch on status): (1) src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Historian.Gateway/Mapping/SampleMapper.cs names 0x800E0000 'BadNoData' — that value is BadServerHalted; BadNoData is 0x809B0000. (2) GalaxyDriver.cs:878 names 0x800B0000 'BadTimeout' — that is BadServiceUnsupported; BadTimeout is 0x800A0000. (3) TwinCATStatusMapper BadTypeMismatch = 0x80730000; real value is 0x80740000. Each needs its own fix + test; do not fold into the Sql work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#497