Skip to content
Start free evaluation

pdcomm_opcua_response_info

Struct

Metadata of a validated service response (structure version 1).

typedef struct pdcomm_opcua_response_info { ... } pdcomm_opcua_response_info

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

Set struct_size to sizeof(pdcomm_opcua_response_info) and version to 1 before calling pdcomm_opcua_response_get_info().

Members

binary_id

Field

Numeric namespace 0 encoding ID of the body, such as 634 for ReadResponse or 397 for ServiceFault.

uint32_t binary_id

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

request_id

Field

ID that pdcomm_opcua_client_begin() returned; equals the ResponseHeader requestHandle.

uint32_t request_id

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

reserved

Field

Written as zero.

uint32_t reserved

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

service_status

Field

ResponseHeader serviceResult; Bad only for a ServiceFault.

uint32_t service_status

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

struct_size

Field

In: size known by the caller.

uint32_t struct_size

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

Out: size written by the library.

version

Field

In and out: structure version 1.

uint32_t version

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>