|
@@ -104,3 +104,19 @@ const UA_EXPORT UA_ClientConfig UA_ClientConfig_standard = {
|
|
|
},
|
|
|
.connectionFunc = UA_ClientConnectionTCP
|
|
|
};
|
|
|
+/****************************************/
|
|
|
+/* Default Client Subscription Settings */
|
|
|
+/****************************************/
|
|
|
+
|
|
|
+#ifdef UA_ENABLE_SUBSCRIPTIONS
|
|
|
+
|
|
|
+const UA_SubscriptionSettings UA_SubscriptionSettings_standard = {
|
|
|
+ .requestedPublishingInterval = 500.0,
|
|
|
+ .requestedLifetimeCount = 10000,
|
|
|
+ .requestedMaxKeepAliveCount = 1,
|
|
|
+ .maxNotificationsPerPublish = 10,
|
|
|
+ .publishingEnabled = true,
|
|
|
+ .priority = 0
|
|
|
+};
|
|
|
+
|
|
|
+#endif
|