Go to the documentation of this file.
20 #ifndef SOPC_ADDRESS_SPACE_ACCESS_H_
21 #define SOPC_ADDRESS_SPACE_ACCESS_H_
135 const uint16_t* optSourcePicoSeconds);
This structure describes a basic NodeID in OPC UA.
Definition: sopc_builtintypes.h:189
uint32_t SOPC_StatusCode
Definition: libs2opc_client.h:60
Definition: sopc_types.h:3135
ExpandedNodeId allows the namespace to be specified explicitly as a string or with an index in the Se...
Definition: sopc_builtintypes.h:207
SOPC_AttributeId
Enumerated for all possible OPC UA attribute ids.
Definition: sopc_builtintypes.h:71
SOPC_StatusCode SOPC_AddressSpaceAccess_ReadValue(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, const SOPC_NumericRange *optNumRange, SOPC_DataValue **outDataValue)
Read Value attribute content with Status and Source Timestamp metadata.
struct _SOPC_AddressSpaceAccess SOPC_AddressSpaceAccess
AddressSpace Access module provides controlled access to address space. This might be used to access ...
Definition: sopc_address_space_access.h:40
This structure provides variant encapsulation.
Definition: sopc_builtintypes.h:374
int64_t SOPC_DateTime
OPC UA timestamp format which is 100 nanoseconds from 1601/01/01 00:00:00 UTC.
Definition: sopc_builtintypes.h:160
SOPC_StatusCode SOPC_AddressSpaceAccess_ReadAttribute(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, SOPC_AttributeId attribId, SOPC_Variant **outValue)
Read an attribute and retrieve its value as a Variant.
Each attribute in OPC UA has a DataValue caracterized by the following structure.
Definition: sopc_builtintypes.h:385
SOPC_StatusCode SOPC_AddressSpaceAccess_AddVariableNode(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_ExpandedNodeId *parentNodeId, const SOPC_NodeId *refTypeId, const SOPC_NodeId *newNodeId, const SOPC_QualifiedName *browseName, const OpcUa_VariableAttributes *varAttributes, const SOPC_ExpandedNodeId *typeDefId)
Add a Variable node into the AddressSpace with given attributes and references to its parent and type...
Definition: sopc_builtintypes.h:228
Definition: sopc_numeric_range.h:35
SOPC_StatusCode SOPC_AddressSpaceAccess_WriteValue(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, const SOPC_NumericRange *optNumRange, const SOPC_Variant *value, const SOPC_StatusCode *optStatus, const SOPC_DateTime *optSourceTimestamp, const uint16_t *optSourcePicoSeconds)
Write Value attribute content with Status and Source Timestamp metadata.