|
@@ -99,8 +99,8 @@ UA_Client_Subscriptions_setPublishingMode(UA_Client *client,
|
|
* forward Event notifications from that node.
|
|
* forward Event notifications from that node.
|
|
*
|
|
*
|
|
* During the creation of a MonitoredItem, the server may return changed
|
|
* During the creation of a MonitoredItem, the server may return changed
|
|
- * adjusted parameters. Use ``UA_Client_MonitoredItem_getParameters`` to get the
|
|
|
|
- * current parameters. */
|
|
|
|
|
|
+ * adjusted parameters. Check the returned ``UA_CreateMonitoredItemsResponse``
|
|
|
|
+ * to get the current parameters. */
|
|
|
|
|
|
/* Provides default values for a new monitored item. */
|
|
/* Provides default values for a new monitored item. */
|
|
static UA_INLINE UA_MonitoredItemCreateRequest
|
|
static UA_INLINE UA_MonitoredItemCreateRequest
|
|
@@ -116,6 +116,10 @@ UA_MonitoredItemCreateRequest_default(UA_NodeId nodeId) {
|
|
return request;
|
|
return request;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * The clientHandle parameter can't be set by the user, any value will be replaced
|
|
|
|
+ * by the client before sending the request to the server. */
|
|
|
|
+
|
|
/* Callback for the deletion of a MonitoredItem */
|
|
/* Callback for the deletion of a MonitoredItem */
|
|
typedef void (*UA_Client_DeleteMonitoredItemCallback)
|
|
typedef void (*UA_Client_DeleteMonitoredItemCallback)
|
|
(UA_Client *client, UA_UInt32 subId, void *subContext,
|
|
(UA_Client *client, UA_UInt32 subId, void *subContext,
|
|
@@ -165,20 +169,15 @@ UA_Client_MonitoredItems_delete(UA_Client *client, const UA_DeleteMonitoredItems
|
|
UA_StatusCode UA_EXPORT
|
|
UA_StatusCode UA_EXPORT
|
|
UA_Client_MonitoredItems_deleteSingle(UA_Client *client, UA_UInt32 subscriptionId, UA_UInt32 monitoredItemId);
|
|
UA_Client_MonitoredItems_deleteSingle(UA_Client *client, UA_UInt32 subscriptionId, UA_UInt32 monitoredItemId);
|
|
|
|
|
|
|
|
+/* The clientHandle parameter will be filled automatically */
|
|
|
|
+UA_ModifyMonitoredItemsResponse UA_EXPORT
|
|
|
|
+UA_Client_MonitoredItems_modify(UA_Client *client,
|
|
|
|
+ const UA_ModifyMonitoredItemsRequest request);
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* The following service calls go directly to the server. The MonitoredItem settings are
|
|
* The following service calls go directly to the server. The MonitoredItem settings are
|
|
* not stored in the client. */
|
|
* not stored in the client. */
|
|
|
|
|
|
-static UA_INLINE UA_ModifyMonitoredItemsResponse
|
|
|
|
-UA_Client_MonitoredItems_modify(UA_Client *client,
|
|
|
|
- const UA_ModifyMonitoredItemsRequest request) {
|
|
|
|
- UA_ModifyMonitoredItemsResponse response;
|
|
|
|
- __UA_Client_Service(client,
|
|
|
|
- &request, &UA_TYPES[UA_TYPES_MODIFYMONITOREDITEMSREQUEST],
|
|
|
|
- &response, &UA_TYPES[UA_TYPES_MODIFYMONITOREDITEMSRESPONSE]);
|
|
|
|
- return response;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static UA_INLINE UA_SetMonitoringModeResponse
|
|
static UA_INLINE UA_SetMonitoringModeResponse
|
|
UA_Client_MonitoredItems_setMonitoringMode(UA_Client *client,
|
|
UA_Client_MonitoredItems_setMonitoringMode(UA_Client *client,
|
|
const UA_SetMonitoringModeRequest request) {
|
|
const UA_SetMonitoringModeRequest request) {
|