103#ifdef UA_ENABLE_SUBSCRIPTIONS
111 void (*subscriptionInactivityCallback)(
UA_Client *client,
191UA_Client_connectUsername(
UA_Client *client,
const char *endpointUrl,
192 const char *username,
const char *password) {
234 size_t* endpointDescriptionsSize,
259 size_t serverUrisSize,
UA_String *serverUris,
260 size_t localeIdsSize,
UA_String *localeIds,
261 size_t *registeredServersSize,
264#ifdef UA_ENABLE_DISCOVERY
286 size_t serverCapabilityFilterSize,
UA_String *serverCapabilityFilter,
287 size_t *serverOnNetworkSize, UA_ServerOnNetwork **serverOnNetwork);
319#ifdef UA_ENABLE_HISTORIZING
320static UA_HistoryReadResponse
321UA_Client_Service_historyRead(
UA_Client *client,
const UA_HistoryReadRequest request) {
322 UA_HistoryReadResponse response;
324 &response, &
UA_TYPES[UA_TYPES_HISTORYREADRESPONSE]);
328static UA_HistoryUpdateResponse
329UA_Client_Service_historyUpdate(
UA_Client *client,
const UA_HistoryUpdateRequest request) {
330 UA_HistoryUpdateResponse response;
332 &response, &
UA_TYPES[UA_TYPES_HISTORYUPDATERESPONSE]);
340#ifdef UA_ENABLE_METHODCALLS
362UA_Client_Service_addReferences(
UA_Client *client,
371UA_Client_Service_deleteNodes(
UA_Client *client,
380UA_Client_Service_deleteReferences(
UA_Client *client,
400UA_Client_Service_browseNext(
UA_Client *client,
409UA_Client_Service_translateBrowsePathsToNodeIds(
UA_Client *client,
420UA_Client_Service_registerNodes(
UA_Client *client,
429UA_Client_Service_unregisterNodes(
UA_Client *client,
441#ifdef UA_ENABLE_QUERY
443static UA_QueryFirstResponse
444UA_Client_Service_queryFirst(
UA_Client *client,
445 const UA_QueryFirstRequest request) {
446 UA_QueryFirstResponse response;
448 &response, &
UA_TYPES[UA_TYPES_QUERYFIRSTRESPONSE]);
452static UA_QueryNextResponse
453UA_Client_Service_queryNext(
UA_Client *client,
454 const UA_QueryNextRequest request) {
455 UA_QueryNextResponse response;
457 &response, &
UA_TYPES[UA_TYPES_QUERYFIRSTRESPONSE]);
void(* UA_ClientAsyncServiceCallback)(UA_Client *client, void *userdata, UA_UInt32 requestId, void *response)
Use the type versions of this method.
UA_StatusCode UA_Client_addTimedCallback(UA_Client *client, UA_ClientCallback callback, void *data, UA_DateTime date, UA_UInt64 *callbackId)
Add a callback for execution at a specified time.
void UA_Client_getState(UA_Client *client, UA_SecureChannelState *channelState, UA_SessionState *sessionState, UA_StatusCode *connectStatus)
Returns the current state.
void __UA_Client_Service(UA_Client *client, const void *request, const UA_DataType *requestType, void *response, const UA_DataType *responseType)
Don't use this function.
UA_EXPORT UA_ClientConfig * UA_Client_getConfig(UA_Client *client)
Get the client configuration.
UA_StatusCode UA_Client_connect(UA_Client *client, const char *endpointUrl)
Connect to the server.
UA_StatusCode UA_Client_renewSecureChannel(UA_Client *client)
Force the manual renewal of the SecureChannel.
UA_StatusCode UA_Client_connectSecureChannel(UA_Client *client, const char *endpointUrl)
Connect to the server without creating a session.
void(* UA_ClientCallback)(UA_Client *client, void *data)
UA_StatusCode UA_Client_disconnectAsync(UA_Client *client)
Disconnect async.
UA_StatusCode UA_Client_disconnect(UA_Client *client)
Disconnect and close a connection to the selected server.
UA_StatusCode UA_Client_findServersOnNetwork(UA_Client *client, const char *serverUrl, UA_UInt32 startingRecordId, UA_UInt32 maxRecordsToReturn, size_t serverCapabilityFilterSize, UA_String *serverCapabilityFilter, size_t *serverOnNetworkSize, UA_ServerOnNetwork **serverOnNetwork)
Get a list of all known server in the network.
UA_StatusCode UA_Client_modifyAsyncCallback(UA_Client *client, UA_UInt32 requestId, void *userdata, UA_ClientAsyncServiceCallback callback)
Set new userdata and callback for an existing request.
UA_EXPORT const UA_DataType * UA_Client_findDataType(UA_Client *client, const UA_NodeId *typeId)
Lookup a datatype by its NodeId.
UA_StatusCode UA_Client_connectAsync(UA_Client *client, const char *endpointUrl)
Connect async (non-blocking) to the server.
UA_Client * UA_Client_newWithConfig(const UA_ClientConfig *config)
The method UA_Client_new is defined in client_config_default.h.
UA_StatusCode UA_Client_addRepeatedCallback(UA_Client *client, UA_ClientCallback callback, void *data, UA_Double interval_ms, UA_UInt64 *callbackId)
Add a callback for cyclic repetition to the client.
UA_StatusCode UA_Client_sendAsyncRequest(UA_Client *client, const void *request, const UA_DataType *requestType, UA_ClientAsyncServiceCallback callback, const UA_DataType *responseType, void *userdata, UA_UInt32 *requestId)
void UA_Client_removeCallback(UA_Client *client, UA_UInt64 callbackId)
void UA_Client_delete(UA_Client *client)
(Disconnect and) delete the client
UA_StatusCode UA_Client_getEndpoints(UA_Client *client, const char *serverUrl, size_t *endpointDescriptionsSize, UA_EndpointDescription **endpointDescriptions)
Gets a list of endpoints of a server.
UA_StatusCode UA_Client_run_iterate(UA_Client *client, UA_UInt32 timeout)
Listen on the network and process arriving asynchronous responses in the background.
UA_StatusCode UA_Client_changeRepeatedCallbackInterval(UA_Client *client, UA_UInt64 callbackId, UA_Double interval_ms)
UA_StatusCode __UA_Client_AsyncService(UA_Client *client, const void *request, const UA_DataType *requestType, UA_ClientAsyncServiceCallback callback, const UA_DataType *responseType, void *userdata, UA_UInt32 *requestId)
UA_StatusCode UA_Client_connectSecureChannelAsync(UA_Client *client, const char *endpointUrl)
Connect async (non-blocking) only the SecureChannel.
UA_StatusCode UA_Client_findServers(UA_Client *client, const char *serverUrl, size_t serverUrisSize, UA_String *serverUris, size_t localeIdsSize, UA_String *localeIds, size_t *registeredServersSize, UA_ApplicationDescription **registeredServers)
Gets a list of all registered servers at the given server.
UA_StatusCode UA_Client_disconnectSecureChannel(UA_Client *client)
Disconnect the SecureChannel but keep the Session intact (if it exists).
UA_StatusCode __UA_Client_AsyncServiceEx(UA_Client *client, const void *request, const UA_DataType *requestType, UA_ClientAsyncServiceCallback callback, const UA_DataType *responseType, void *userdata, UA_UInt32 *requestId, UA_UInt32 timeout)
Use the type versions of this method.
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
UA_Connection(* UA_ConnectClientConnection)(UA_ConnectionConfig config, UA_String endpointUrl, UA_UInt32 timeout, const UA_Logger *logger)
#define UA_STATUSCODE_BADOUTOFMEMORY
"Not enough memory to complete the operation."
This Source Code Form is subject to the terms of the Mozilla Public License, v.
size_t securityPoliciesSize
UA_EndpointDescription endpoint
const UA_DataTypeArray * customDataTypes
UA_UInt16 outStandingPublishRequests
size_t sessionLocaleIdsSize
UA_UInt32 requestedSessionTimeout
UA_CertificateVerification certificateVerification
UA_SecurityPolicy * securityPolicies
UA_ApplicationDescription clientDescription
UA_ConnectionConfig localConnectionConfig
UA_String securityPolicyUri
UA_ExtensionObject userIdentityToken
UA_MessageSecurityMode securityMode
UA_ConnectClientConnection initConnectionFunc
UA_UserTokenPolicy userTokenPolicy
UA_UInt32 connectivityCheckInterval
UA_LocaleId * sessionLocaleIds
UA_UInt32 secureChannelLifeTime
Datatype arrays with custom type definitions can be added in a linked list to the client or server co...
UA_ExtensionObjectEncoding encoding
struct UA_ExtensionObject::@25::@27 decoded
union UA_ExtensionObject::@25 content
@ UA_EXTENSIONOBJECT_DECODED
#define UA_STRING_ALLOC(CHARS)
#define UA_TYPES_WRITERESPONSE
#define UA_TYPES_UNREGISTERNODESRESPONSE
#define UA_TYPES_CALLREQUEST
#define UA_TYPES_BROWSENEXTREQUEST
#define UA_TYPES_ADDNODESREQUEST
#define UA_TYPES_TRANSLATEBROWSEPATHSTONODEIDSRESPONSE
#define UA_TYPES_ADDREFERENCESREQUEST
#define UA_TYPES_BROWSENEXTRESPONSE
#define UA_TYPES_DELETEREFERENCESREQUEST
#define UA_TYPES_BROWSEREQUEST
#define UA_TYPES_REGISTERNODESREQUEST
#define UA_TYPES_CALLRESPONSE
#define UA_TYPES_ADDNODESRESPONSE
#define UA_TYPES_ADDREFERENCESRESPONSE
#define UA_TYPES_DELETEREFERENCESRESPONSE
#define UA_TYPES_DELETENODESRESPONSE
#define UA_TYPES_READREQUEST
#define UA_TYPES_WRITEREQUEST
#define UA_TYPES_TRANSLATEBROWSEPATHSTONODEIDSREQUEST
const UA_DataType UA_TYPES[191]
#define UA_TYPES_USERNAMEIDENTITYTOKEN
#define UA_TYPES_DELETENODESREQUEST
#define UA_TYPES_BROWSERESPONSE
#define UA_TYPES_READRESPONSE
#define UA_TYPES_UNREGISTERNODESREQUEST
#define UA_TYPES_REGISTERNODESRESPONSE