S2OPC OPCUA Toolkit
libs2opc_request_builder.h
Go to the documentation of this file.
1 /*
2  * Licensed to Systerel under one or more contributor license
3  * agreements. See the NOTICE file distributed with this work
4  * for additional information regarding copyright ownership.
5  * Systerel licenses this file to you under the Apache
6  * License, Version 2.0 (the "License"); you may not use this
7  * file except in compliance with the License. You may obtain
8  * a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
33 #ifndef LIBS2OPC_REQUEST_BUILDER_H_
34 #define LIBS2OPC_REQUEST_BUILDER_H_
35 
36 #include "sopc_types.h"
37 
50 
63 
92  size_t index,
93  const char* nodeId,
94  SOPC_AttributeId attribute,
95  const char* indexRange);
96 
122  size_t index,
123  const SOPC_NodeId* nodeId,
124  SOPC_AttributeId attribute,
125  const SOPC_String* indexRange);
126 
136  size_t index,
137  const SOPC_QualifiedName* dataEncoding);
138 
150 
187  size_t index,
188  const char* nodeId,
189  SOPC_AttributeId attribute,
190  const char* indexRange,
191  const SOPC_DataValue* value);
192 
226  size_t index,
227  const SOPC_NodeId* nodeId,
228  SOPC_AttributeId attribute,
229  const SOPC_String* indexRange,
230  const SOPC_DataValue* value);
231 
248  size_t maxReferencesPerNode,
249  const OpcUa_ViewDescription* optView);
250 
292  size_t index,
293  const char* nodeId,
294  OpcUa_BrowseDirection browseDirection,
295  const char* referenceTypeId,
296  bool includeSubtypes,
297  OpcUa_NodeClass nodeClassMask,
298  OpcUa_BrowseResultMask resultMask);
299 
335  size_t index,
336  const SOPC_NodeId* nodeId,
337  OpcUa_BrowseDirection browseDirection,
338  const SOPC_NodeId* referenceTypeId,
339  bool includeSubtypes,
340  OpcUa_NodeClass nodeClassMask,
341  OpcUa_BrowseResultMask resultMask);
342 
361 OpcUa_BrowseNextRequest* SOPC_BrowseNextRequest_Create(bool releaseContinuationPoints, size_t nbContinuationPoints);
362 
377 
406  size_t index,
407  const char* startingNodeId,
408  size_t nbPathElements,
409  OpcUa_RelativePathElement* pathElements);
410 
433  size_t index,
434  SOPC_NodeId* startingNodeId,
435  size_t nbPathElements,
436  OpcUa_RelativePathElement* pathElements);
437 
451 
477  size_t index,
478  const SOPC_NodeId* referenceTypeId,
479  bool isInverse,
480  bool includeSubtypes,
481  uint16_t targetNsIndex,
482  const char* targetName);
483 
499  size_t index,
500  const SOPC_ByteString* continuationPoint);
501 
511 
526  size_t nbLocales,
527  char* const* localeIds);
528 
549  size_t nbProfiles,
550  char* const* profileURIs);
551 
560 
572 
610  size_t index,
611  const SOPC_ExpandedNodeId* parentNodeId,
612  const SOPC_NodeId* referenceTypeId,
613  const SOPC_ExpandedNodeId* optRequestedNodeId,
614  const SOPC_QualifiedName* browseName,
615  const SOPC_ExpandedNodeId* typeDefinition,
616  const SOPC_LocalizedText* optDisplayName,
617  const SOPC_LocalizedText* optDescription,
618  const uint32_t* optWriteMask,
619  const uint32_t* optUserWriteMask,
620  const SOPC_Variant* optValue,
621  const SOPC_NodeId* optDataType,
622  const int32_t* optValueRank,
623  int32_t noOfArrayDimensions,
624  const uint32_t* optArrayDimensions,
625  const SOPC_Byte* optAccessLevel,
626  const SOPC_Byte* optUserAccessLevel,
627  const double* optMinimumSamplingInterval,
628  SOPC_Boolean* optHistorizing);
629 
644 
666  uint32_t reqLifetimeCount,
667  uint32_t reqMaxKeepAliveCount,
668  uint32_t maxNotifPerPublish,
669  SOPC_Boolean publishingEnabled,
670  SOPC_Byte priority);
671 
692  size_t nbMonitoredItems,
693  const SOPC_NodeId* nodeIdsToMonitor,
695 
721  uint32_t subscriptionId,
722  size_t nbMonitoredItems,
723  char* const* nodeIdsToMonitor,
725 
745  size_t nbMonitoredItems,
747 
783  OpcUa_CreateMonitoredItemsRequest* createMIrequest,
784  size_t index,
785  const SOPC_NodeId* nodeId,
786  SOPC_AttributeId attribute,
787  const SOPC_String* indexRange);
788 
824  OpcUa_CreateMonitoredItemsRequest* createMIrequest,
825  size_t index,
826  const char* nodeId,
827  SOPC_AttributeId attribute,
828  const char* indexRange);
829 
844  OpcUa_DeadbandType deadbandType,
845  double deadbandValue);
846 
865 OpcUa_EventFilter* SOPC_MonitoredItem_CreateEventFilter(size_t noOfSelectClauses, size_t noOfWhereClauseElt);
866 
877  size_t whereClauseEltIdx,
878  const SOPC_NodeId* typeNodeId);
879 
891  size_t whereClauseEltIdx,
892  OpcUa_ContentFilterElement** filterElt);
893 
916  size_t selectClauseIdx,
917  const SOPC_NodeId* typeId,
918  size_t noOfBrowsePath,
919  const SOPC_QualifiedName* browsePaths,
920  SOPC_AttributeId attributeId,
921  const SOPC_String* indexRange);
922 
954  size_t selectClauseIdx,
955  const char* typeId,
956  char qnPathSep,
957  const char* strQnPath,
958  SOPC_AttributeId attributeId,
959  const char* indexRange);
960 
970 
1008  OpcUa_CreateMonitoredItemsRequest* createMIrequest,
1009  size_t index,
1010  OpcUa_MonitoringMode monitoringMode,
1011  uint32_t clientHandle,
1012  double samplingInterval,
1013  SOPC_ExtensionObject* optFilter,
1014  uint32_t queueSize,
1015  SOPC_Boolean discardOldest);
1016 
1037  size_t nbMonitoredItems,
1039 
1070  OpcUa_ModifyMonitoredItemsRequest* modifyMIrequest,
1071  size_t index,
1072  uint32_t monitoredItemId,
1073  uint32_t clientHandle,
1074  double samplingInterval,
1075  SOPC_ExtensionObject* optFilter,
1076  uint32_t queueSize,
1077  SOPC_Boolean discardOldest);
1078 
1101  size_t nbMonitoredItems,
1102  const uint32_t* optMonitoredItemIds);
1103 
1115  OpcUa_DeleteMonitoredItemsRequest* deleteMIrequest,
1116  size_t index,
1117  uint32_t monitoredItemId);
1118 
1129 OpcUa_CallRequest* SOPC_CallRequest_Create(size_t nbMethodsToCalls);
1130 
1156  size_t index,
1157  const SOPC_NodeId* objectId,
1158  const SOPC_NodeId* methodId,
1159  int32_t nbOfInputArguments,
1160  const SOPC_Variant* inputArguments);
1161 
1187  size_t index,
1188  const char* objectId,
1189  const char* methodId,
1190  int32_t nbOfInputArguments,
1191  const SOPC_Variant* inputArguments);
1192 
1193 #endif /* LIBS2OPC_REQUEST_BUILDER_H_ */
_OpcUa_CreateSubscriptionRequest
Definition: sopc_types.h:5868
_OpcUa_EventFilter
Definition: sopc_types.h:4649
SOPC_NodeId
This structure describes a basic NodeID in OPC UA.
Definition: sopc_builtintypes.h:189
sopc_types.h
_OpcUa_RelativePathElement
Definition: sopc_types.h:3902
SOPC_GetEndpointsRequest_Create
OpcUa_GetEndpointsRequest * SOPC_GetEndpointsRequest_Create(const char *endpointURL)
Creates a GetEndpoint request for the given endpoint URL.
_OpcUa_ViewDescription
Definition: sopc_types.h:3701
SOPC_DeleteMonitoredItemsRequest_Create
OpcUa_DeleteMonitoredItemsRequest * SOPC_DeleteMonitoredItemsRequest_Create(uint32_t subscriptionId, size_t nbMonitoredItems, const uint32_t *optMonitoredItemIds)
Creates an DeleteMonitoredItems request.
SOPC_AddNodeRequest_SetVariableAttributes
SOPC_ReturnStatus SOPC_AddNodeRequest_SetVariableAttributes(OpcUa_AddNodesRequest *addNodesRequest, size_t index, const SOPC_ExpandedNodeId *parentNodeId, const SOPC_NodeId *referenceTypeId, const SOPC_ExpandedNodeId *optRequestedNodeId, const SOPC_QualifiedName *browseName, const SOPC_ExpandedNodeId *typeDefinition, const SOPC_LocalizedText *optDisplayName, const SOPC_LocalizedText *optDescription, const uint32_t *optWriteMask, const uint32_t *optUserWriteMask, const SOPC_Variant *optValue, const SOPC_NodeId *optDataType, const int32_t *optValueRank, int32_t noOfArrayDimensions, const uint32_t *optArrayDimensions, const SOPC_Byte *optAccessLevel, const SOPC_Byte *optUserAccessLevel, const double *optMinimumSamplingInterval, SOPC_Boolean *optHistorizing)
Sets the attributes values requested for the Variable node to add. Optional parameters are prefixed b...
SOPC_CreateMonitoredItemsRequest_SetMonitoredItemParams
SOPC_ReturnStatus SOPC_CreateMonitoredItemsRequest_SetMonitoredItemParams(OpcUa_CreateMonitoredItemsRequest *createMIrequest, size_t index, OpcUa_MonitoringMode monitoringMode, uint32_t clientHandle, double samplingInterval, SOPC_ExtensionObject *optFilter, uint32_t queueSize, SOPC_Boolean discardOldest)
Sets the monitored item monitoring parameters. It shall be completed by a call to SOPC_CreateMonitore...
SOPC_ExtensionObject
An ExtensionObject is a container for any Structured DataTypes which cannot be encoded as one of the ...
Definition: sopc_builtintypes.h:262
OpcUa_BrowseDirection
enum _OpcUa_BrowseDirection OpcUa_BrowseDirection
SOPC_LocalizedText
Definition: sopc_builtintypes.h:234
SOPC_CreateMonitoredItemsRequest_CreateDefault
OpcUa_CreateMonitoredItemsRequest * SOPC_CreateMonitoredItemsRequest_CreateDefault(uint32_t subscriptionId, size_t nbMonitoredItems, const SOPC_NodeId *nodeIdsToMonitor, OpcUa_TimestampsToReturn ts)
Creates a CreateMonitoredItems request for the given node ids with default parameters values:
OpcUa_TimestampsToReturn
enum _OpcUa_TimestampsToReturn OpcUa_TimestampsToReturn
_OpcUa_WriteRequest
Definition: sopc_types.h:5007
_OpcUa_AddNodesRequest
Definition: sopc_types.h:3433
SOPC_TranslateBrowsePathRequest_SetPath
SOPC_ReturnStatus SOPC_TranslateBrowsePathRequest_SetPath(OpcUa_TranslateBrowsePathsToNodeIdsRequest *tbpRequest, size_t index, SOPC_NodeId *startingNodeId, size_t nbPathElements, OpcUa_RelativePathElement *pathElements)
Sets the browse path to translate at given index in translate browse paths request.
SOPC_BrowseRequest_SetBrowseDescriptionFromStrings
SOPC_ReturnStatus SOPC_BrowseRequest_SetBrowseDescriptionFromStrings(OpcUa_BrowseRequest *browseRequest, size_t index, const char *nodeId, OpcUa_BrowseDirection browseDirection, const char *referenceTypeId, bool includeSubtypes, OpcUa_NodeClass nodeClassMask, OpcUa_BrowseResultMask resultMask)
Sets the node to browse at given index in browse request (using C strings for node id and reference t...
_OpcUa_DeleteMonitoredItemsRequest
Definition: sopc_types.h:5818
_OpcUa_ModifyMonitoredItemsRequest
Definition: sopc_types.h:5659
SOPC_WriteRequest_SetWriteValueFromStrings
SOPC_ReturnStatus SOPC_WriteRequest_SetWriteValueFromStrings(OpcUa_WriteRequest *writeRequest, size_t index, const char *nodeId, SOPC_AttributeId attribute, const char *indexRange, const SOPC_DataValue *value)
Sets the value to write at given index in write request (using C strings for node id and index range)
OpcUa_MonitoringMode
enum _OpcUa_MonitoringMode OpcUa_MonitoringMode
SOPC_CreateMonitoredItemsRequest_Create
OpcUa_CreateMonitoredItemsRequest * SOPC_CreateMonitoredItemsRequest_Create(uint32_t subscriptionId, size_t nbMonitoredItems, OpcUa_TimestampsToReturn ts)
Creates a CreateMonitoredItems request.
_OpcUa_CallRequest
Definition: sopc_types.h:5345
_OpcUa_RegisterServer2Request
Definition: sopc_types.h:2556
SOPC_RelativePathElements_SetPathElement
SOPC_ReturnStatus SOPC_RelativePathElements_SetPathElement(OpcUa_RelativePathElement *pathElementsArray, size_t index, const SOPC_NodeId *referenceTypeId, bool isInverse, bool includeSubtypes, uint16_t targetNsIndex, const char *targetName)
Sets the path element at given index in relative path element array.
SOPC_ExpandedNodeId
ExpandedNodeId allows the namespace to be specified explicitly as a string or with an index in the Se...
Definition: sopc_builtintypes.h:207
SOPC_GetEndpointsRequest_SetProfileURIs
SOPC_ReturnStatus SOPC_GetEndpointsRequest_SetProfileURIs(OpcUa_GetEndpointsRequest *getEndpointsReq, size_t nbProfiles, char *const *profileURIs)
Requests profile URIs for the endpoints to be returned by the get endpoints service (Optional) Endpoi...
SOPC_MonitoredItem_EventFilter
SOPC_ExtensionObject * SOPC_MonitoredItem_EventFilter(OpcUa_EventFilter *eventFilterObj)
Packages a built event filter into an extension object to be provided as filter to SOPC_CreateMonitor...
SOPC_ReadRequest_SetReadValueDataEncoding
SOPC_ReturnStatus SOPC_ReadRequest_SetReadValueDataEncoding(OpcUa_ReadRequest *readRequest, size_t index, const SOPC_QualifiedName *dataEncoding)
Sets the data encoding of the value to read.
SOPC_CreateMonitoredItemsRequest_CreateDefaultFromStrings
OpcUa_CreateMonitoredItemsRequest * SOPC_CreateMonitoredItemsRequest_CreateDefaultFromStrings(uint32_t subscriptionId, size_t nbMonitoredItems, char *const *nodeIdsToMonitor, OpcUa_TimestampsToReturn ts)
Creates a CreateMonitoredItems request for the given node ids C strings with default parameters value...
OpcUa_BrowseResultMask
enum _OpcUa_BrowseResultMask OpcUa_BrowseResultMask
SOPC_TranslateBrowsePathsRequest_Create
OpcUa_TranslateBrowsePathsToNodeIdsRequest * SOPC_TranslateBrowsePathsRequest_Create(size_t nbTranslateBrowsePaths)
Creates a translate browse paths request.
SOPC_CallRequest_Create
OpcUa_CallRequest * SOPC_CallRequest_Create(size_t nbMethodsToCalls)
Creates a Call request for the given number of method calls.
OpcUa_NodeClass
enum _OpcUa_NodeClass OpcUa_NodeClass
SOPC_ReadRequest_SetReadValue
SOPC_ReturnStatus SOPC_ReadRequest_SetReadValue(OpcUa_ReadRequest *readRequest, size_t index, const SOPC_NodeId *nodeId, SOPC_AttributeId attribute, const SOPC_String *indexRange)
Sets the value to read at given index in read request.
SOPC_CreateSubscriptionRequest_CreateDefault
OpcUa_CreateSubscriptionRequest * SOPC_CreateSubscriptionRequest_CreateDefault(void)
Creates a CreateSubscription request with default parameters values Default parameters are the follow...
SOPC_String
This structure provides string encapsulation.
Definition: sopc_builtintypes.h:148
SOPC_AddNodesRequest_Create
OpcUa_AddNodesRequest * SOPC_AddNodesRequest_Create(size_t nbAddNodes)
Creates an add nodes request.
_OpcUa_BrowseNextRequest
Definition: sopc_types.h:3853
SOPC_BrowseRequest_SetBrowseDescription
SOPC_ReturnStatus SOPC_BrowseRequest_SetBrowseDescription(OpcUa_BrowseRequest *browseRequest, size_t index, const SOPC_NodeId *nodeId, OpcUa_BrowseDirection browseDirection, const SOPC_NodeId *referenceTypeId, bool includeSubtypes, OpcUa_NodeClass nodeClassMask, OpcUa_BrowseResultMask resultMask)
Sets the node to browse at given index in browse request.
_OpcUa_ContentFilterElement
Definition: sopc_types.h:794
SOPC_AttributeId
SOPC_AttributeId
Enumerated for all possible OPC UA attribute ids.
Definition: sopc_builtintypes.h:71
SOPC_ModifyMonitoredItemsRequest_SetMonitoredItemParams
SOPC_ReturnStatus SOPC_ModifyMonitoredItemsRequest_SetMonitoredItemParams(OpcUa_ModifyMonitoredItemsRequest *modifyMIrequest, size_t index, uint32_t monitoredItemId, uint32_t clientHandle, double samplingInterval, SOPC_ExtensionObject *optFilter, uint32_t queueSize, SOPC_Boolean discardOldest)
Sets the monitored item monitoring parameters to modify. See part 4 ยง7.16 for detailed MonitoringPara...
SOPC_CreateSubscriptionRequest_Create
OpcUa_CreateSubscriptionRequest * SOPC_CreateSubscriptionRequest_Create(double reqPublishingInterval, uint32_t reqLifetimeCount, uint32_t reqMaxKeepAliveCount, uint32_t maxNotifPerPublish, SOPC_Boolean publishingEnabled, SOPC_Byte priority)
Creates a CreateSubscription request with given parameters values.
SOPC_CreateMonitoredItemsRequest_SetMonitoredItemId
SOPC_ReturnStatus SOPC_CreateMonitoredItemsRequest_SetMonitoredItemId(OpcUa_CreateMonitoredItemsRequest *createMIrequest, size_t index, const SOPC_NodeId *nodeId, SOPC_AttributeId attribute, const SOPC_String *indexRange)
Sets the monitored item identification parameters. It should be completed by a call to SOPC_CreateMon...
SOPC_ReadRequest_Create
OpcUa_ReadRequest * SOPC_ReadRequest_Create(size_t nbReadValues, OpcUa_TimestampsToReturn tsToReturn)
Creates a read request.
SOPC_MonitoredItem_CreateEventFilter
OpcUa_EventFilter * SOPC_MonitoredItem_CreateEventFilter(size_t noOfSelectClauses, size_t noOfWhereClauseElt)
Creates and allocates a EventFilter filter parameter.
SOPC_Byte
uint8_t SOPC_Byte
Definition: sopc_builtintypes.h:138
SOPC_EventFilter_SetGenericWhereClause
SOPC_ReturnStatus SOPC_EventFilter_SetGenericWhereClause(OpcUa_EventFilter *eventFilter, size_t whereClauseEltIdx, OpcUa_ContentFilterElement **filterElt)
Sets a generic content filter element for the given where clause element index.
SOPC_CallRequest_SetMethodToCallFromStrings
SOPC_ReturnStatus SOPC_CallRequest_SetMethodToCallFromStrings(OpcUa_CallRequest *callRequest, size_t index, const char *objectId, const char *methodId, int32_t nbOfInputArguments, const SOPC_Variant *inputArguments)
Sets the method call parameters for the given index in the the call request.
SOPC_MonitoredItem_DataChangeFilter
SOPC_ExtensionObject * SOPC_MonitoredItem_DataChangeFilter(OpcUa_DataChangeTrigger trigger, OpcUa_DeadbandType deadbandType, double deadbandValue)
Creates and allocates a DataChangeFilter filter parameter to be provided to SOPC_CreateMonitoredItems...
SOPC_Variant
This structure provides variant encapsulation.
Definition: sopc_builtintypes.h:374
_OpcUa_TranslateBrowsePathsToNodeIdsRequest
Definition: sopc_types.h:4016
SOPC_RegisterServer2Request_CreateFromServerConfiguration
OpcUa_RegisterServer2Request * SOPC_RegisterServer2Request_CreateFromServerConfiguration(void)
Creates a complete RegisterServer2 request from the current server configuration. It shall be used to...
SOPC_WriteRequest_Create
OpcUa_WriteRequest * SOPC_WriteRequest_Create(size_t nbWriteValues)
Creates a write request.
OpcUa_DataChangeTrigger
enum _OpcUa_DataChangeTrigger OpcUa_DataChangeTrigger
SOPC_BrowseNextRequest_SetContinuationPoint
SOPC_ReturnStatus SOPC_BrowseNextRequest_SetContinuationPoint(OpcUa_BrowseNextRequest *browseNextRequest, size_t index, const SOPC_ByteString *continuationPoint)
Sets the continuation point to browse at given index in browse next request.
SOPC_ReadRequest_SetMaxAge
SOPC_ReturnStatus SOPC_ReadRequest_SetMaxAge(OpcUa_ReadRequest *readRequest, double maxAge)
Indicates to the server of maximum age of the data it should return.
SOPC_BrowseNextRequest_Create
OpcUa_BrowseNextRequest * SOPC_BrowseNextRequest_Create(bool releaseContinuationPoints, size_t nbContinuationPoints)
Creates a browse next request.
SOPC_GetEndpointsRequest_SetPreferredLocales
SOPC_ReturnStatus SOPC_GetEndpointsRequest_SetPreferredLocales(OpcUa_GetEndpointsRequest *getEndpointsReq, size_t nbLocales, char *const *localeIds)
Requests preferred locales for the endpoints to be returned by the get endpoints service (Optional) P...
_OpcUa_ReadRequest
Definition: sopc_types.h:4552
SOPC_Boolean
SOPC_Byte SOPC_Boolean
Definition: sopc_builtintypes.h:140
_OpcUa_CreateMonitoredItemsRequest
Definition: sopc_types.h:5562
SOPC_RelativePathElements_Create
OpcUa_RelativePathElement * SOPC_RelativePathElements_Create(size_t nbPathElements)
Creates an array of relative path element to be used in translate browse path.
SOPC_DataValue
Each attribute in OPC UA has a DataValue caracterized by the following structure.
Definition: sopc_builtintypes.h:385
SOPC_DeleteMonitoredItemsRequest_SetMonitoredItemId
SOPC_ReturnStatus SOPC_DeleteMonitoredItemsRequest_SetMonitoredItemId(OpcUa_DeleteMonitoredItemsRequest *deleteMIrequest, size_t index, uint32_t monitoredItemId)
Sets the monitored item identifier to delete.
SOPC_ModifyMonitoredItemsRequest_Create
OpcUa_ModifyMonitoredItemsRequest * SOPC_ModifyMonitoredItemsRequest_Create(uint32_t subscriptionId, size_t nbMonitoredItems, OpcUa_TimestampsToReturn ts)
Creates a ModifyMonitoredItems request.
SOPC_WriteRequest_SetWriteValue
SOPC_ReturnStatus SOPC_WriteRequest_SetWriteValue(OpcUa_WriteRequest *writeRequest, size_t index, const SOPC_NodeId *nodeId, SOPC_AttributeId attribute, const SOPC_String *indexRange, const SOPC_DataValue *value)
Sets the value to write at given index in write request.
SOPC_QualifiedName
Definition: sopc_builtintypes.h:228
SOPC_CreateMonitoredItemsRequest_SetMonitoredItemIdFromStrings
SOPC_ReturnStatus SOPC_CreateMonitoredItemsRequest_SetMonitoredItemIdFromStrings(OpcUa_CreateMonitoredItemsRequest *createMIrequest, size_t index, const char *nodeId, SOPC_AttributeId attribute, const char *indexRange)
Sets the monitored item identification parameters using C string parameters. It shall be completed by...
SOPC_CallRequest_SetMethodToCall
SOPC_ReturnStatus SOPC_CallRequest_SetMethodToCall(OpcUa_CallRequest *callRequest, size_t index, const SOPC_NodeId *objectId, const SOPC_NodeId *methodId, int32_t nbOfInputArguments, const SOPC_Variant *inputArguments)
Sets the method call parameters for the given index in the the call request.
SOPC_EventFilter_SetSelectClause
SOPC_ReturnStatus SOPC_EventFilter_SetSelectClause(OpcUa_EventFilter *eventFilter, size_t selectClauseIdx, const SOPC_NodeId *typeId, size_t noOfBrowsePath, const SOPC_QualifiedName *browsePaths, SOPC_AttributeId attributeId, const SOPC_String *indexRange)
Sets select clause parameters for given select clause index.
_OpcUa_GetEndpointsRequest
Definition: sopc_types.h:2409
OpcUa_DeadbandType
enum _OpcUa_DeadbandType OpcUa_DeadbandType
_OpcUa_BrowseRequest
Definition: sopc_types.h:3802
SOPC_BrowseRequest_Create
OpcUa_BrowseRequest * SOPC_BrowseRequest_Create(size_t nbNodesToBrowse, size_t maxReferencesPerNode, const OpcUa_ViewDescription *optView)
Creates a browse request.
SOPC_EventFilter_SetSelectClauseFromStringPath
SOPC_ReturnStatus SOPC_EventFilter_SetSelectClauseFromStringPath(OpcUa_EventFilter *eventFilter, size_t selectClauseIdx, const char *typeId, char qnPathSep, const char *strQnPath, SOPC_AttributeId attributeId, const char *indexRange)
Sets select clause parameters for given select clause index.
SOPC_TranslateBrowsePathRequest_SetPathFromString
SOPC_ReturnStatus SOPC_TranslateBrowsePathRequest_SetPathFromString(OpcUa_TranslateBrowsePathsToNodeIdsRequest *tbpRequest, size_t index, const char *startingNodeId, size_t nbPathElements, OpcUa_RelativePathElement *pathElements)
Sets the browse path to translate at given index in translate browse paths request (using C strings f...
SOPC_ReadRequest_SetReadValueFromStrings
SOPC_ReturnStatus SOPC_ReadRequest_SetReadValueFromStrings(OpcUa_ReadRequest *readRequest, size_t index, const char *nodeId, SOPC_AttributeId attribute, const char *indexRange)
Sets the value to read at given index in read request (using C strings for node id and index range)
SOPC_EventFilter_SetOfTypeWhereClause
SOPC_ReturnStatus SOPC_EventFilter_SetOfTypeWhereClause(OpcUa_EventFilter *eventFilter, size_t whereClauseEltIdx, const SOPC_NodeId *typeNodeId)
Sets an OfType operator where clause element with the given type id.
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64