IoT

namespace OPC

Overview

Classes: BasicClient, BasicScalarType, IOPCClient, LocalizedText, NoValueException, NodeId, NodeInfo, OPCClient, OPCClientRemoteObject, OPCClientServerHelper, OPCClientSkeleton, OPCException, PathNotFoundException, QualifiedName, ScalarType, SecurityException, TypeMismatchException, UnknownNamespaceException, Utility, Variant

Types: NodeIdString

Classes

class BasicClient

This class provides a basic OPC client implementation. more...

class BasicScalarType

 more...

class IOPCClient

The interface for OPC clients. more...

class LocalizedText

A LocalizedText combines a locale identifier with a string. more...

class NoValueException

 more...

class NodeId

This class represents an OPC-UA Node Identifier. more...

struct NodeInfo

 more...

class OPCClient

The interface for OPC clients. more...

class OPCClientRemoteObject

The interface for OPC clients. more...

class OPCClientServerHelper

The interface for OPC clients. more...

class OPCClientSkeleton

The interface for OPC clients. more...

class OPCException

 more...

class PathNotFoundException

 more...

class QualifiedName

A QualifiedName combines a namespace index with a name. more...

class ScalarType

 more...

class SecurityException

 more...

class TypeMismatchException

 more...

class UnknownNamespaceException

 more...

class Utility

 more...

class Variant

This class wraps an OPC-UA Variantmore...

Types

NodeIdString

typedef std::string NodeIdString;

OPC-UA Node IDs are represented as a string. A node ID consists of a namespace index and an identifier, which may be numeric, a string, a UUID/GUID or an opaque byte string.

The string consists of an optional namespace part (if omitted, corresponds to namespace index 0) and an identifier part. The namespace part can be specified as namespace index (e.g., "ns=0") or as namespace URI (e.g., "nsu=http://opcfoundation.org/UA/").

Namespace part and identifier are delimited with a semicolon.

The identifier can be specified as numeric ID (e.g., "i=2253"), string (e.g., "s=Server"), UUID/GUID in common 8-4-4-4-12 grouped hexadecimal representation (e.g., "g=BB2EC8A2-6B02-44A3-927E-A54182F84B58") or opaque byte string, Base64-encoded (e.g., "b=U2VydmVy").

Valid examples for NodeID strings are:

Enumerations

ClientState

The state of the client.

CLIENT_DISCONNECTED

The client is disconnected.

CLIENT_WAITING_FOR_ACK

The Client has sent HEL and is waiting for server acknowledgement.

CLIENT_CONNECTED

A TCP connection to the server is open.

CLIENT_SECURECHANNEL

A secure channel to the server is open.

CLIENT_SESSION

A session with the server is open.

CLIENT_SESSION_DISCONNECTED

The session with the server was disconnected.

CLIENT_SESSION_RENEWED

The session with the server has been renewed.

NodeClass

OPC-UA node classes.

NODECLASS_UNSPECIFIED = 0

NODECLASS_OBJECT = 1

NODECLASS_VARIABLE = 2

NODECLASS_METHOD = 4

NODECLASS_OBJECT_TYPE = 8

NODECLASS_VARIABLE_TYPE = 16

NODECLASS_REFERENCE_TYPE = 32

NODECLASS_DATA_TYPE = 64

NODECLASS_VIEW = 128

Securely control IoT edge devices from anywhere   Connect a Device