ANSI C Based OPC UA Client/Server SDK
OpcUa_DiagnosticInfo Struct Reference

Vendor-specific diagnostic information. More...

#include <opcua_builtintypes.h>

Data Fields

OpcUa_Int32 SymbolicId
 The symbolicId shall be used to identify a vendor-specific error or condition; typically the result of some server internal operation. More...
OpcUa_Int32 NamespaceUri
 The SymbolicId is defined within the context of a namespace. More...
OpcUa_Int32 Locale
 The locale part of the vendor-specific localized text describing the symbolic id. More...
OpcUa_Int32 LocalizedText
 A vendor-specific localized text string that describes the symbolic id. More...
OpcUa_String AdditionalInfo
 Vendor-specific diagnostic information.
OpcUa_StatusCode InnerStatusCode
 The StatusCode from the inner operation. More...
struct _OpcUa_DiagnosticInfo * InnerDiagnosticInfo
 The diagnostic info associated with the inner StatusCode.

Detailed Description

Vendor-specific diagnostic information.

The SymbolicId, NamespaceUri, LocalizedText and Locale fields are indexes in a string table which is returned in the response header. Only the index of the corresponding string in the string table is encoded. An index of −1 indicates that there is no value for the string.

DiagnosticInfo allows unlimited nesting which could result in stack overflow errors even if the message size is less than the maximum allowed. Decoders shall support at least 100 nesting levels. Decoders shall report an error if the number of nesting levels exceeds what it supports.

The documentation for this struct was generated from the following file: