Client
This page lists docstrings relevant to the client API.
Adding different types of nodes:
Open62541.JUA_Client_addNode
— FunctionJUA_Client_addNode(client::JUA_Client, requestedNewNodeId::JUA_NodeId,
parentNodeId::JUA_NodeId, referenceTypeId::JUA_NodeId, browseName::JUA_QualifiedName,
attributes::Union{JUA_VariableAttributes, JUA_ObjectAttributes},
outNewNodeId::JUA_NodeId, typeDefinition::JUA_NodeId)::UA_StatusCode
uses the client API to add a Variable or Object node to the server to which the client is connected to.
See JUA_VariableAttributes
, JUA_VariableTypeAttributes
, and JUA_ObjectAttributes
on how to define valid attributes.
JUA_Client_addNode(client::JUA_Client, requestedNewNodeId::JUA_NodeId,
parentNodeId, referenceTypeId::JUA_NodeId, browseName::JUA_QualifiedName,
attributes::Union{JUA_VariableTypeAttributes, JUA_ObjectTypeAttributes,
JUA_ReferenceTypeAttributes, JUA_DataTypeAttributes, JUA_ViewAttributes},
outNewNodeId::JUA_NodeId)::UA_StatusCode
uses the client API to add a ObjectType, ReferenceType, DataType or View node to the server to which the client is connected to.
See `JUA_VariableTypeAttributes, JUA_ObjectTypeAttributes
, JUA_ReferenceTypeAttributes
, JUA_DataTypeAttributes
, and JUA_ViewAttributes
on how to define valid attributes.
Open62541.UA_Client_addVariableNode
— FunctionUA_Client_addVariableNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, typedefinition::Ptr{UA_NodeId},
attr::Ptr{UA_VariableAttributes}, outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a variable node to the client
.
See UA_VariableAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addObjectNode
— FunctionUA_Client_addObjectNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, typedefinition::Ptr{UA_NodeId},
attr::Ptr{UA_ObjectAttributes}, outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a object node to the client
.
See UA_ObjectAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addVariableTypeNode
— FunctionUA_Client_addVariableTypeNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, attr::Ptr{UA_VariableTypeAttributes},
outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a variabletype node to the client
.
See UA_VariableTypeAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addObjectTypeNode
— FunctionUA_Client_addObjectTypeNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, attr::Ptr{UA_ObjectTypeAttributes},
outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a objecttype node to the client
.
See UA_ObjectTypeAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addViewNode
— FunctionUA_Client_addViewNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, attr::Ptr{UA_ViewAttributes},
outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a view node to the client
.
See UA_ViewAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addReferenceTypeNode
— FunctionUA_Client_addReferenceTypeNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, attr::Ptr{UA_ReferenceTypeAttributes},
outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a referencetype node to the client
.
See UA_ReferenceTypeAttributes_generate
on how to define valid attributes.
Open62541.UA_Client_addDataTypeNode
— FunctionUA_Client_addDataTypeNode(::Ptr{UA_Client}, requestednewnodeid::Ptr{UA_NodeId},
parentnodeid::Ptr{UA_NodeId}, referenceTypeId::Ptr{UA_NodeId},
browseName::Ptr{UA_QualifiedName}, attr::Ptr{UA_DataTypeAttributes},
outNewNodeId::Ptr{UA_NodeId})::UA_StatusCode
uses the client API to add a datatype node to the client
.
See UA_DataTypeAttributes_generate
on how to define valid attributes.
Reading from nodes:
Open62541.JUA_Client_readValueAttribute
— Functionvalue = JUA_Client_readValueAttribute(client::JUA_Client, nodeId::JUA_NodeId, type = Any)
uses the client API to read the value of nodeId
from the server that the client
is connected to. In case the client has no live connection to a server, automatic reconnection is attempted.
The output value
is automatically converted to a Julia type (such as Float64, String, Vector{String}, etc.) if possible. Otherwise, open62541 composite types are returned.
Note: Since it is unknown what type of value is stored within nodeId
before reading it, this function is inherently type unstable.
Type stability is improved if the optional argument type
is provided, for example, if you know that you have stored a Matrix{Float64} in nodeId
, then you should specify this. If the wrong type is specified, the function will throw a TypeError.
Open62541.UA_Client_readAccessLevelAttribute
— FunctionUA_Client_readAccessLevelAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Byte})
Uses the UA Client API to read the value of attribute AccessLevel from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readBrowseNameAttribute
— FunctionUA_Client_readBrowseNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_QualifiedName})
Uses the UA Client API to read the value of attribute BrowseName from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readContainsNoLoopsAttribute
— FunctionUA_Client_readContainsNoLoopsAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute ContainsNoLoops from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readDataTypeAttribute
— FunctionUA_Client_readDataTypeAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_NodeId})
Uses the UA Client API to read the value of attribute DataType from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readDescriptionAttribute
— FunctionUA_Client_readDescriptionAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_LocalizedText})
Uses the UA Client API to read the value of attribute Description from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readDisplayNameAttribute
— FunctionUA_Client_readDisplayNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_LocalizedText})
Uses the UA Client API to read the value of attribute DisplayName from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readEventNotifierAttribute
— FunctionUA_Client_readEventNotifierAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Byte})
Uses the UA Client API to read the value of attribute EventNotifier from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readExecutableAttribute
— FunctionUA_Client_readExecutableAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute Executable from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readHistorizingAttribute
— FunctionUA_Client_readHistorizingAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute Historizing from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readInverseNameAttribute
— FunctionUA_Client_readInverseNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_LocalizedText})
Uses the UA Client API to read the value of attribute InverseName from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readIsAbstractAttribute
— FunctionUA_Client_readIsAbstractAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute IsAbstract from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readMinimumSamplingIntervalAttribute
— FunctionUA_Client_readMinimumSamplingIntervalAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Double})
Uses the UA Client API to read the value of attribute MinimumSamplingInterval from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readNodeClassAttribute
— FunctionUA_Client_readNodeClassAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_NodeClass})
Uses the UA Client API to read the value of attribute NodeClass from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readNodeIdAttribute
— FunctionUA_Client_readNodeIdAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_NodeId})
Uses the UA Client API to read the value of attribute NodeId from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readSymmetricAttribute
— FunctionUA_Client_readSymmetricAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute Symmetric from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readUserAccessLevelAttribute
— FunctionUA_Client_readUserAccessLevelAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Byte})
Uses the UA Client API to read the value of attribute UserAccessLevel from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readUserExecutableAttribute
— FunctionUA_Client_readUserExecutableAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Boolean})
Uses the UA Client API to read the value of attribute UserExecutable from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readUserWriteMaskAttribute
— FunctionUA_Client_readUserWriteMaskAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_UInt32})
Uses the UA Client API to read the value of attribute UserWriteMask from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readValueAttribute
— FunctionUA_Client_readValueAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Variant})
Uses the UA Client API to read the value of attribute Value from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readValueRankAttribute
— FunctionUA_Client_readValueRankAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_Int32})
Uses the UA Client API to read the value of attribute ValueRank from the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_readWriteMaskAttribute
— FunctionUA_Client_readWriteMaskAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, out::Ptr{UA_UInt32})
Uses the UA Client API to read the value of attribute WriteMask from the NodeId nodeId
accessed through the client client
.
Writing to nodes:
Open62541.JUA_Client_writeValueAttribute
— FunctionJUA_Client_writeValueAttribute(client::JUA_Client, nodeId::JUA_NodeId, newvalue)::UA_StatusCode
uses the client API to write the value newvalue
to nodeId
to the server that the client
is connected to. In case the client has no live connection to a server, automatic reconnection is attempted.
new_value
must either be a JUA_Variant
or a Julia value/array compatible with any of its constructors.
See also JUA_Variant
Open62541.UA_Client_writeAccessLevelAttribute
— FunctionUA_Client_writeAccessLevelAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Byte})
Uses the UA Client API to write the value new_val
to the attribute AccessLevel of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeBrowseNameAttribute
— FunctionUA_Client_writeBrowseNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_QualifiedName})
Uses the UA Client API to write the value new_val
to the attribute BrowseName of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeContainsNoLoopsAttribute
— FunctionUA_Client_writeContainsNoLoopsAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute ContainsNoLoops of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeDataTypeAttribute
— FunctionUA_Client_writeDataTypeAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_NodeId})
Uses the UA Client API to write the value new_val
to the attribute DataType of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeDescriptionAttribute
— FunctionUA_Client_writeDescriptionAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_LocalizedText})
Uses the UA Client API to write the value new_val
to the attribute Description of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeDisplayNameAttribute
— FunctionUA_Client_writeDisplayNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_LocalizedText})
Uses the UA Client API to write the value new_val
to the attribute DisplayName of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeEventNotifierAttribute
— FunctionUA_Client_writeEventNotifierAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Byte})
Uses the UA Client API to write the value new_val
to the attribute EventNotifier of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeExecutableAttribute
— FunctionUA_Client_writeExecutableAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute Executable of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeHistorizingAttribute
— FunctionUA_Client_writeHistorizingAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute Historizing of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeInverseNameAttribute
— FunctionUA_Client_writeInverseNameAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_LocalizedText})
Uses the UA Client API to write the value new_val
to the attribute InverseName of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeIsAbstractAttribute
— FunctionUA_Client_writeIsAbstractAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute IsAbstract of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeMinimumSamplingIntervalAttribute
— FunctionUA_Client_writeMinimumSamplingIntervalAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Double})
Uses the UA Client API to write the value new_val
to the attribute MinimumSamplingInterval of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeNodeClassAttribute
— FunctionUA_Client_writeNodeClassAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_NodeClass})
Uses the UA Client API to write the value new_val
to the attribute NodeClass of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeNodeIdAttribute
— FunctionUA_Client_writeNodeIdAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_NodeId})
Uses the UA Client API to write the value new_val
to the attribute NodeId of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeSymmetricAttribute
— FunctionUA_Client_writeSymmetricAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute Symmetric of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeUserAccessLevelAttribute
— FunctionUA_Client_writeUserAccessLevelAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Byte})
Uses the UA Client API to write the value new_val
to the attribute UserAccessLevel of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeUserExecutableAttribute
— FunctionUA_Client_writeUserExecutableAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Boolean})
Uses the UA Client API to write the value new_val
to the attribute UserExecutable of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeUserWriteMaskAttribute
— FunctionUA_Client_writeUserWriteMaskAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_UInt32})
Uses the UA Client API to write the value new_val
to the attribute UserWriteMask of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeValueAttribute
— FunctionUA_Client_writeValueAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Variant})
Uses the UA Client API to write the value new_val
to the attribute Value of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeValueRankAttribute
— FunctionUA_Client_writeValueRankAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_Int32})
Uses the UA Client API to write the value new_val
to the attribute ValueRank of the NodeId nodeId
accessed through the client client
.
Open62541.UA_Client_writeWriteMaskAttribute
— FunctionUA_Client_writeWriteMaskAttribute(client::Ptr{UA_Client}, nodeId::Ptr{UA_NodeId}, new_val::Ptr{UA_UInt32})
Uses the UA Client API to write the value new_val
to the attribute WriteMask of the NodeId nodeId
accessed through the client client
.
Asynchronous Client API
Open62541.UA_ClientAsyncAddNodesCallback_generate
— MethodUA_ClientAsyncAddNodesCallback_generate(f::Function)
creates a UA_ClientAsyncAddNodesCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, writeresponse::Ptr{UA_AddNodesResponse}))::Nothing
Open62541.UA_ClientAsyncBrowseCallback_generate
— MethodUA_ClientAsyncBrowseCallback_generate(f::Function)
creates a UA_ClientAsyncBrowseCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, writeresponse::Ptr{UA_WriteResponse}))::Nothing
Open62541.UA_ClientAsyncCallCallback_generate
— MethodUA_ClientAsyncCallCallback_generate(f::Function)
creates a UA_ClientAsyncCallCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, callresponse::Ptr{UA_CallResponse}))::Nothing
Open62541.UA_ClientAsyncReadAccessLevelAttributeCallback_generate
— MethodUA_ClientAsyncReadAccessLevelAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadAccessLevelAttributeCallback
that can be supplied as callback argument to UA_Client_readAccessLevelAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, accesslevel)::UA_Byte)::Nothing
Open62541.UA_ClientAsyncReadAttributeCallback_generate
— MethodUA_ClientAsyncReadAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadAttributeCallback
that can be supplied as callback argument to UA_Client_readAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, attribute)::UA_DataValue)::Nothing
Open62541.UA_ClientAsyncReadBrowseNameAttributeCallback_generate
— MethodUA_ClientAsyncReadBrowseNameAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadBrowseNameAttributeCallback
that can be supplied as callback argument to UA_Client_readBrowseNameAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, browsename)::UA_QualifiedName)::Nothing
Open62541.UA_ClientAsyncReadCallback_generate
— MethodUA_ClientAsyncReadCallback_generate(f::Function)
creates a UA_ClientAsyncReadCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, readresponse::Ptr{UA_ReadResponse}))::Nothing
Open62541.UA_ClientAsyncReadContainsNoLoopsAttributeCallback_generate
— MethodUA_ClientAsyncReadContainsNoLoopsAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadContainsNoLoopsAttributeCallback
that can be supplied as callback argument to UA_Client_readContainsNoLoopsAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, containsNoLoops)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadDataTypeAttributeCallback_generate
— MethodUA_ClientAsyncReadDataTypeAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadDataTypeAttributeCallback
that can be supplied as callback argument to UA_Client_readDataTypeAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, datatype)::UA_NodeId)::Nothing
Open62541.UA_ClientAsyncReadDescriptionAttributeCallback_generate
— MethodUA_ClientAsyncReadDescriptionAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadDescriptionAttributeCallback
that can be supplied as callback argument to UA_Client_readDescriptionAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, description)::UA_LocalizedText)::Nothing
Open62541.UA_ClientAsyncReadDisplayNameAttributeCallback_generate
— MethodUA_ClientAsyncReadDisplayNameAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadDisplayNameAttributeCallback
that can be supplied as callback argument to UA_Client_readDisplayNameAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, displayname)::UA_LocalizedText)::Nothing
Open62541.UA_ClientAsyncReadEventNotifierAttributeCallback_generate
— MethodUA_ClientAsyncReadEventNotifierAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadEventNotifierAttributeCallback
that can be supplied as callback argument to UA_Client_readEventNotifierAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, eventnotifier)::UA_Byte)::Nothing
Open62541.UA_ClientAsyncReadExecutableAttributeCallback_generate
— MethodUA_ClientAsyncReadExecutableAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadExecutableAttributeCallback
that can be supplied as callback argument to UA_Client_readExecutableAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, executable)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadHistorizingAttributeCallback_generate
— MethodUA_ClientAsyncReadHistorizingAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadHistorizingAttributeCallback
that can be supplied as callback argument to UA_Client_readHistorizingAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, historizing)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadInverseNameAttributeCallback_generate
— MethodUA_ClientAsyncReadInverseNameAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadInverseNameAttributeCallback
that can be supplied as callback argument to UA_Client_readInverseNameAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, inversename)::UA_LocalizedText)::Nothing
Open62541.UA_ClientAsyncReadIsAbstractAttributeCallback_generate
— MethodUA_ClientAsyncReadIsAbstractAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadIsAbstractAttributeCallback
that can be supplied as callback argument to UA_Client_readIsAbstractAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, isabstract)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadMinimumSamplingIntervalAttributeCallback_generate
— MethodUA_ClientAsyncReadMinimumSamplingIntervalAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadMinimumSamplingIntervalAttributeCallback
that can be supplied as callback argument to UA_Client_readMinimumSamplingIntervalAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, minimumsamplinginterval)::UA_Double)::Nothing
Open62541.UA_ClientAsyncReadNodeClassAttributeCallback_generate
— MethodUA_ClientAsyncReadNodeClassAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadNodeClassAttributeCallback
that can be supplied as callback argument to UA_Client_readNodeClassAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, nodeclass)::UA_NodeClass)::Nothing
Open62541.UA_ClientAsyncReadSymmetricAttributeCallback_generate
— MethodUA_ClientAsyncReadSymmetricAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadSymmetricAttributeCallback
that can be supplied as callback argument to UA_Client_readSymmetricAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, symmetric)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadUserAccessLevelAttributeCallback_generate
— MethodUA_ClientAsyncReadUserAccessLevelAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadUserAccessLevelAttributeCallback
that can be supplied as callback argument to UA_Client_readUserAccessLevelAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, useraccesslevel)::UA_Byte)::Nothing
Open62541.UA_ClientAsyncReadUserExecutableAttributeCallback_generate
— MethodUA_ClientAsyncReadUserExecutableAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadUserExecutableAttributeCallback
that can be supplied as callback argument to UA_Client_readUserExecutableAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, userexecutable)::UA_Boolean)::Nothing
Open62541.UA_ClientAsyncReadUserWriteMaskAttributeCallback_generate
— MethodUA_ClientAsyncReadUserWriteMaskAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadUserWriteMaskAttributeCallback
that can be supplied as callback argument to UA_Client_readUserWriteMaskAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, userwritemask)::UA_UInt32)::Nothing
Open62541.UA_ClientAsyncReadValueAttributeCallback_generate
— MethodUA_ClientAsyncReadValueAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadValueAttributeCallback
that can be supplied as callback argument to UA_Client_readValueAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, value)::UA_DataValue)::Nothing
Open62541.UA_ClientAsyncReadValueRankAttributeCallback_generate
— MethodUA_ClientAsyncReadValueRankAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadValueRankAttributeCallback
that can be supplied as callback argument to UA_Client_readValueRankAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, valuerank)::UA_UInt32)::Nothing
Open62541.UA_ClientAsyncReadWriteMaskAttributeCallback_generate
— MethodUA_ClientAsyncReadWriteMaskAttributeCallback_generate(f::Function)
creates a UA_ClientAsyncReadWriteMaskAttributeCallback
that can be supplied as callback argument to UA_Client_readWriteMaskAttribute_async
. The callback will be triggered once the read operation has been carried out.
f
must be a Julia function with the following signature:
f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestid::UA_UInt32,
status::UA_StatusCode, writeMask)::UA_UInt32)::Nothing
Open62541.UA_ClientAsyncServiceCallback_generate
— MethodUA_ClientAsyncServiceCallback_generate(f::Function)
creates a UA_ClientAsyncServiceCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, response::Ptr{Cvoid}))::Nothing
Open62541.UA_ClientAsyncWriteCallback_generate
— MethodUA_ClientAsyncWriteCallback_generate(f::Function)
creates a UA_ClientAsyncWriteCallback
object.
f
must be a Julia function with the following signature: f(client::Ptr{UA_Client}, userdata::Ptr{Cvoid}, requestId::UInt32, writeresponse::Ptr{UA_WriteResponse}))::Nothing
Open62541.UA_Client_connectAsync
— MethodUA_Client_connectAsync(client::Ptr{UA_Client}, endpointurl::Ptr{UA_String})::UA_StatusCode
connect the client
to the server with endpointurl
asynchronously (non-blocking). This is an anonymous connection, i.e., no username or password are used (some servers do not allow this).
After initiating the connection, call UA_Client_run_iterate
repeatedly until the connection is fully established. You can set a callback to client->config.stateCallback to be notified when the connection status changes. Or use UA_Client_getState
to get the state manually.
Note that endpointurl
is copied; pointer must be cleared up separately.
Open62541.UA_Client_connectSecureChannelAsync
— MethodUA_Client_connectSecureChannelAsync(client::Ptr{UA_Client}, endpointurl::Ptr{UA_String})::UA_StatusCode
connect the client
to the server with endpointurl
asynchronously (non-blocking) without creating a session.
After initiating the connection, call UA_Client_run_iterate
repeatedly until the connection is fully established. You can set a callback to client->config.stateCallback to be notified when the connection status changes. Or use UA_Client_getState
to get the state manually.
Note that endpointurl
is copied; pointer must be cleared up separately.
Open62541.UA_Client_connectUsernameAsync
— MethodUA_Client_connectUsernameAsync(client::Ptr{UA_Client}, endpointurl::Ptr{UA_String},
username::Ptr{UA_String}, password::Ptr{UA_String})::UA_StatusCode
connects the client
to the server with endpoint URL endpointurl
and supplies username
and password
as login credentials.
Note that endpointurl
, username
, and password
are copied, pointers must be freed up seperately.
Open62541.UA_Client_sendAsyncBrowseRequest
— MethodUA_Client_sendAsyncBrowseRequest(client::Ptr{UA_Client},
request::Ptr{UA_BrowseRequest},
readCallback::UA_ClientAsyncBrowseCallback,
userdata::Ptr{Cvoid}, requestId::UInt32)::UA_StatusCode
uses the asynchronous client API to send a browse request.
See also:
Open62541.UA_Client_sendAsyncReadRequest
— MethodUA_Client_sendAsyncReadRequest(client::Ptr{UA_Client},
request::Ptr{UA_ReadRequest},
readCallback::UA_ClientAsyncReadCallback,
userdata::Ptr{Cvoid}, requestId::UInt32)::UA_StatusCode
uses the asynchronous client API to send a read request.
See also:
Open62541.UA_Client_sendAsyncWriteRequest
— MethodUA_Client_sendAsyncWriteRequest(client::Ptr{UA_Client},
request::Ptr{UA_WriteRequest},
readCallback::UA_ClientAsyncWriteCallback,
userdata::Ptr{Cvoid}, requestId::UInt32)::UA_StatusCode
uses the asynchronous client API to send a write request.
See also: