UA Ansi C Server Professional
1.3.3.242
|
Functions | |
OpcUa_StatusCode | UaServer_AddNode (UaServer_AddressSpace *a_pAddressSpace, OpcUa_BaseNode *a_pNode) |
Add a new node to an address space table. More... | |
OpcUa_StatusCode | UaServer_RemoveNode (UaServer_AddressSpace *a_pAddressSpace, OpcUa_BaseNode *a_pNode) |
Remove a node from an address space table. More... | |
OpcUa_StatusCode | UaServer_RemoveNodeById (OpcUa_NodeId *a_pNodeId) |
Remove a node from an address space table by the given NodeId. More... | |
OpcUa_StatusCode | UaServer_AddressSpace_Create (UaServer_AddressSpace **a_ppAddressSpace, OpcUa_UInt32 a_uRequestedAdressSpaceSize, pt2GetKeyFromValue fctPtr) |
Creates a new address space. More... | |
OpcUa_StatusCode | UaServer_AddressSpace_Get (OpcUa_UInt32 a_iProviderIdx, UaServer_AddressSpace **a_ppAddressSpace) |
Returns the addressspace of a specific provider. More... | |
OpcUa_StatusCode | UaServer_AddressSpace_GetByNamespaceIndex (OpcUa_UInt16 a_NamespaceIndex, UaServer_AddressSpace **a_ppAddressSpace) |
Returns the addressspace by the given NamespaceIndex. More... | |
OpcUa_StatusCode | UaServer_CreateNode (UaServer_AddressSpace *a_pAddressSpace, OpcUa_BaseNode **a_ppNewNode, OpcUa_Void *a_pOwner, OpcUa_NodeId *a_pNodeId, OpcUa_NodeClass a_eNodeClass, OpcUa_NodeId *a_pReferenceNodeId, OpcUa_NodeId *a_pTypeNodeId, OpcUa_StringA a_sBrowseName, OpcUa_StringA a_sDisplayName, OpcUa_StringA a_sDescription) |
Creates a new OPC UA Node in the address space. More... | |
OpcUa_StatusCode | UaServer_CreateFolder (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Folder **a_ppNewFolder, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new folder in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateObject (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Object **a_ppNewObject, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new Object in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateObjectType (UaServer_AddressSpace *a_pAddressSpace, OpcUa_ObjectType **a_ppNewObjectType, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new ObjectType in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateProperty (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Property **a_ppNewProperty, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new Property in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateDataVariable (UaServer_AddressSpace *a_pAddressSpace, OpcUa_DataVariable **a_ppNewVariable, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new DataVariable in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateVariableType (UaServer_AddressSpace *a_pAddressSpace, OpcUa_VariableType **a_ppNewVariableType, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new VariableType in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateReferenceType (UaServer_AddressSpace *a_pAddressSpace, OpcUa_ReferenceType **a_ppNewType, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new Reference in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateDataType (UaServer_AddressSpace *a_pAddressSpace, OpcUa_DataType **a_ppNewDataType, OpcUa_Void *a_pOwner, OpcUa_UInt32 a_iId, OpcUa_UInt16 a_iNamespaceIndex, OpcUa_StringA a_sName) |
Creates a new DataType node in the addressspace. More... | |
OpcUa_Void | UaServer_AddressSpace_Clear (UaServer_AddressSpace **a_ppServerAddressSpace) |
Clears the created addressspace. More... | |
OpcUa_BaseNode * | UaServer_GetNode (UaServer_AddressSpace *pAddressSpace, OpcUa_NodeId *pNodeId) |
Returns the node pointer for the given NodeId . More... | |
OpcUa_BaseNode * | UaServer_GetNodeById (OpcUa_NodeId *a_pNodeId) |
Get the Node by the given NodeId. More... | |
OpcUa_StatusCode | UaServer_CreateDataVariableS (UaServer_AddressSpace *a_pAddressSpace, OpcUa_DataVariable **a_ppNewVariable, OpcUa_Void *a_pOwner, OpcUa_StringA a_sId, OpcUa_UInt16 a_iNSIdx, OpcUa_StringA a_sName) |
Creates a new DataVariableS in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreatePropertyS (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Property **a_ppNewProperty, OpcUa_Void *a_pOwner, OpcUa_StringA a_sId, OpcUa_UInt16 a_iNSIdx, OpcUa_StringA a_sName) |
Creates a new PropertyS in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateFolderS (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Folder **a_ppNewFolder, OpcUa_Void *a_pOwner, OpcUa_StringA a_sId, OpcUa_UInt16 a_iNSIdx, OpcUa_StringA a_sName) |
Creates a new FolderS in the addressspace. More... | |
OpcUa_StatusCode | UaServer_CreateObjectS (UaServer_AddressSpace *a_pAddressSpace, OpcUa_Object **a_ppNewObject, OpcUa_Void *a_pOwner, OpcUa_StringA a_sId, OpcUa_UInt16 a_iNSIdx, OpcUa_StringA a_sName) |
Creates a new ObjectS in the addressspace. More... | |
char * | UaServer_GetKeyFromOpcUaNode (OpcUa_Void *a_pValue) |
Get the key from the actual node. More... | |
void | UaServer_SetDefaultNamespace (OpcUa_Int16 NsIdx) |
Sets the default namespace index for the convenience functions. More... | |
OpcUa_Int16 | UaServer_GetDefaultNamespace () |
Returns the default namespace. More... | |
void | UaServer_CreateStringNodeId (OpcUa_NodeId *pNodeId, const char *szNodeId) |
Creates a string NodeId with the default namespace. More... | |
void | UaServer_CreateStringNodeIdEx (OpcUa_NodeId *pNodeId, const char *szNodeId, OpcUa_UInt16 NsIdx) |
Creates a string NodeId with the given string and namespace index. More... | |
void | UaServer_CreateNumericNodeId (OpcUa_NodeId *pNodeId, OpcUa_UInt32 id) |
Creates a numeric NodeId with the default namespace. More... | |
void | UaServer_CreateNumericNodeIdEx (OpcUa_NodeId *pNodeId, OpcUa_UInt32 id, OpcUa_UInt16 NsIdx) |
Creates a numeric NodeId with the given id and namespace index. More... | |
void | UaServer_CreateLocalizedText (OpcUa_LocalizedText *pText, const char *pszLocale, const char *pszText) |
Creates an optimized LocalizedText by attaching string constants. More... | |
void | UaServer_CreateQualifiedName (OpcUa_QualifiedName *pName, const char *pszName) |
Creates an optimized QualifiedName by attaching string constants. More... | |
void | UaServer_CreateQualifiedNameEx (OpcUa_QualifiedName *pName, const char *pszName, OpcUa_UInt16 NsIdx) |
Creates an optimized QualifiedName by attaching string constants. More... | |
OpcUa_StatusCode UaServer_AddNode | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_BaseNode * | a_pNode | ||
) |
Add a new node to an address space table.
a_pAddressSpace | The.handle to the address space. |
a_pNode | The node to add. |
OpcUa_Void UaServer_AddressSpace_Clear | ( | UaServer_AddressSpace ** | a_ppServerAddressSpace | ) |
Clears the created addressspace.
a_ppServerAddressSpace | The addressspace to clean up. |
OpcUa_StatusCode UaServer_AddressSpace_Create | ( | UaServer_AddressSpace ** | a_ppAddressSpace, |
OpcUa_UInt32 | a_uRequestedAdressSpaceSize, | ||
pt2GetKeyFromValue | fctPtr | ||
) |
Creates a new address space.
a_ppAddressSpace | Returns a handle to the newly created address space. |
a_uRequestedAdressSpaceSize | Size of the address space. This is actually the size of the hashtable used to lookup the nodes. This should be greater than the number of nodes to store. |
fctPtr | Pointer to key lookup function. This hashtable stores only pointers to the objects, not the key which was hashed. This hashtable uses this function to lookup the key based on the object pointer. This can easily be achieved by storing the key in the object itself. The hash table needs this function to handle hash collisions. |
OpcUa_StatusCode UaServer_AddressSpace_Get | ( | OpcUa_UInt32 | a_iProviderIdx, |
UaServer_AddressSpace ** | a_ppAddressSpace | ||
) |
Returns the addressspace of a specific provider.
a_iProviderIdx | Provider index to lookup. |
a_ppAddressSpace | Returns the handle to the address space. |
OpcUa_StatusCode UaServer_AddressSpace_GetByNamespaceIndex | ( | OpcUa_UInt16 | a_NamespaceIndex, |
UaServer_AddressSpace ** | a_ppAddressSpace | ||
) |
Returns the addressspace by the given NamespaceIndex.
a_NamespaceIndex | NamespaceIndex to look up. |
a_ppAddressSpace | Returns the handle to the address space. |
OpcUa_StatusCode UaServer_CreateDataType | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_DataType ** | a_ppNewDataType, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new DataType node in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewDataType | the DataType to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateDataVariable | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_DataVariable ** | a_ppNewVariable, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new DataVariable in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewVariable | the variable to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateDataVariableS | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_DataVariable ** | a_ppNewVariable, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_StringA | a_sId, | ||
OpcUa_UInt16 | a_iNSIdx, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new DataVariableS in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewVariable | the variable to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_sId | the id of the actual node/folder/property ... |
a_iNSIdx | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateFolder | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Folder ** | a_ppNewFolder, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new folder in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewFolder | the folder to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateFolderS | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Folder ** | a_ppNewFolder, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_StringA | a_sId, | ||
OpcUa_UInt16 | a_iNSIdx, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new FolderS in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewFolder | the folder to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_sId | the id of the actual node/folder/property ... |
a_iNSIdx | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
void UaServer_CreateLocalizedText | ( | OpcUa_LocalizedText * | pText, |
const char * | pszLocale, | ||
const char * | pszText | ||
) |
Creates an optimized LocalizedText by attaching string constants.
The given strings are attached to the localized text and must not be freed as this would create a dangling pointer.
This function was introduced in V1.3.0.
pText | The localized text to initialize. |
pszLocale | The string constant to use for the locale. |
pszText | The string constant to use for the text. |
OpcUa_StatusCode UaServer_CreateNode | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_BaseNode ** | a_ppNewNode, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_NodeId * | a_pNodeId, | ||
OpcUa_NodeClass | a_eNodeClass, | ||
OpcUa_NodeId * | a_pReferenceNodeId, | ||
OpcUa_NodeId * | a_pTypeNodeId, | ||
OpcUa_StringA | a_sBrowseName, | ||
OpcUa_StringA | a_sDisplayName, | ||
OpcUa_StringA | a_sDescription | ||
) |
Creates a new OPC UA Node in the address space.
a_pAddressSpace | Handle to the address space. |
a_ppNewNode | Returns the pointer to the newly created node. |
a_pOwner | Pointer to the node that owns the new node. |
a_pNodeId | Pointer to NodeId of the new node. |
a_eNodeClass | Specificies the nodeclass of the new node. |
a_pReferenceNodeId | Specifies the reference type that should be created between owner and the new node. |
a_pTypeNodeId | Specififies the typeId of the new node. This creates a HasTypeDefinition reference from the new node to the type node. |
a_sBrowseName | The browse name of the new node. |
a_sDisplayName | The display name of the new node. |
a_sDescription | The description of the new node. |
void UaServer_CreateNumericNodeId | ( | OpcUa_NodeId * | pNodeId, |
OpcUa_UInt32 | id | ||
) |
Creates a numeric NodeId with the default namespace.
This function was introduced in V1.3.0.
pNodeId | NodeId to initialze. |
id | Numeric identifier for NodeId. |
void UaServer_CreateNumericNodeIdEx | ( | OpcUa_NodeId * | pNodeId, |
OpcUa_UInt32 | id, | ||
OpcUa_UInt16 | NsIdx | ||
) |
Creates a numeric NodeId with the given id and namespace index.
This function was introduced in V1.3.0.
pNodeId | NodeId to initialze. |
id | Numeric identifier for NodeId. |
NsIdx | The namespace index to use. |
OpcUa_StatusCode UaServer_CreateObject | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Object ** | a_ppNewObject, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new Object in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewObject | the object to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateObjectS | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Object ** | a_ppNewObject, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_StringA | a_sId, | ||
OpcUa_UInt16 | a_iNSIdx, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new ObjectS in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewObject | the object to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_sId | the id of the actual node/folder/property ... |
a_iNSIdx | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateObjectType | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_ObjectType ** | a_ppNewObjectType, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new ObjectType in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewObjectType | the ObjectType to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreateProperty | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Property ** | a_ppNewProperty, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new Property in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewProperty | the property to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_StatusCode UaServer_CreatePropertyS | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_Property ** | a_ppNewProperty, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_StringA | a_sId, | ||
OpcUa_UInt16 | a_iNSIdx, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new PropertyS in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewProperty | the property to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_sId | the id of the actual node/folder/property ... |
a_iNSIdx | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
void UaServer_CreateQualifiedName | ( | OpcUa_QualifiedName * | pName, |
const char * | pszName | ||
) |
Creates an optimized QualifiedName by attaching string constants.
The default namespace is used as a namespace index.
This function was introduced in V1.3.0.
pName | The qualified name to initialize. |
pszName | The string constant to use. |
void UaServer_CreateQualifiedNameEx | ( | OpcUa_QualifiedName * | pName, |
const char * | pszName, | ||
OpcUa_UInt16 | NsIdx | ||
) |
Creates an optimized QualifiedName by attaching string constants.
The given strings are attached to the localized text and must not be freed as this would create a dangling pointer.
This function was introduced in V1.3.0.
pName | The qualified name to initialize. |
pszName | The string constant to use. |
NsIdx | The namespace index to use. |
OpcUa_StatusCode UaServer_CreateReferenceType | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_ReferenceType ** | a_ppNewType, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new Reference in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewType | the reference to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
void UaServer_CreateStringNodeId | ( | OpcUa_NodeId * | pNodeId, |
const char * | szNodeId | ||
) |
Creates a string NodeId with the default namespace.
This function attaches read only to the given string constant. This is intended for creating NodeIds from string constants in generated code. The given string constant must not be freed as this would create a dangling pointer.
This function was introduced in V1.3.0.
pNodeId | NodeId to initialze. |
szNodeId | String constant for NodeId. |
void UaServer_CreateStringNodeIdEx | ( | OpcUa_NodeId * | pNodeId, |
const char * | szNodeId, | ||
OpcUa_UInt16 | NsIdx | ||
) |
Creates a string NodeId with the given string and namespace index.
This function attaches read only to the given string constant. This is intended for creating NodeIds from string constants in generated code. The given string constant must not be freed as this would create a dangling pointer.
This function was introduced in V1.3.0.
pNodeId | NodeId to initialze. |
szNodeId | String constant for NodeId. |
NsIdx | The namespace index to use. |
OpcUa_StatusCode UaServer_CreateVariableType | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_VariableType ** | a_ppNewVariableType, | ||
OpcUa_Void * | a_pOwner, | ||
OpcUa_UInt32 | a_iId, | ||
OpcUa_UInt16 | a_iNamespaceIndex, | ||
OpcUa_StringA | a_sName | ||
) |
Creates a new VariableType in the addressspace.
a_pAddressSpace | the addressspace where to add something. |
a_ppNewVariableType | the variable to create. |
a_pOwner | the actual owner of the node/folder/property ... |
a_iId | the id of the actual node/folder/property ... |
a_iNamespaceIndex | the NamespaceIndex of the actual node/folder/property ... |
a_sName | the name of the actual node/folder/property ... |
OpcUa_Int16 UaServer_GetDefaultNamespace | ( | ) |
Returns the default namespace.
This function was introduced in V1.3.0.
char * UaServer_GetKeyFromOpcUaNode | ( | OpcUa_Void * | a_pValue | ) |
Get the key from the actual node.
a_pValue | the value of the actual node. |
OpcUa_BaseNode * UaServer_GetNode | ( | UaServer_AddressSpace * | pAddressSpace, |
OpcUa_NodeId * | pNodeId | ||
) |
Returns the node pointer for the given NodeId
.
pAddressSpace | Pointer to registered address space. |
pNodeId | The NodeId to lookup. |
OpcUa_BaseNode * UaServer_GetNodeById | ( | OpcUa_NodeId * | a_pNodeId | ) |
Get the Node by the given NodeId.
a_pNodeId | the Nodeid |
OpcUa_StatusCode UaServer_RemoveNode | ( | UaServer_AddressSpace * | a_pAddressSpace, |
OpcUa_BaseNode * | a_pNode | ||
) |
Remove a node from an address space table.
a_pAddressSpace | pointer to the address space. |
a_pNode | The node to remove. |
OpcUa_StatusCode UaServer_RemoveNodeById | ( | OpcUa_NodeId * | a_pNodeId | ) |
Remove a node from an address space table by the given NodeId.
a_pNodeId | the Id of the Node to remvoe |
void UaServer_SetDefaultNamespace | ( | OpcUa_Int16 | NsIdx | ) |
Sets the default namespace index for the convenience functions.
The default namespace is used by these convenience functions:
This function was introduced in V1.3.0.