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. 

class BasicScalarType

 

class IOPCClient

The interface for OPC clients. 

class LocalizedText

A LocalizedText combines a locale identifier with a string. 

class NoValueException

 

class NodeId

This class represents an OPC-UA Node Identifier. 

struct NodeInfo

 

class OPCClient

The interface for OPC clients. 

class OPCClientRemoteObject

The interface for OPC clients. 

class OPCClientServerHelper

The interface for OPC clients. 

class OPCClientSkeleton

The interface for OPC clients. 

class OPCException

 

class PathNotFoundException

 

class QualifiedName

A QualifiedName combines a namespace index with a name. 

class ScalarType

 

class SecurityException

 

class TypeMismatchException

 

class UnknownNamespaceException

 

class Utility

 

class Variant

This class wraps an OPC-UA Variant

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