Explorar o código

added missing file

FlorianPalm %!s(int64=10) %!d(string=hai) anos
pai
achega
245750724b
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      src/ua_services_subscription.c

+ 18 - 0
src/ua_services_subscription.c

@@ -0,0 +1,18 @@
+/*
+ * ua_services_subscription.c
+ *
+ *  Created on: 18.06.2014
+ *      Author: root
+ */
+#include "ua_services.h"
+
+UA_Int32 Service_CreateSubscription(SL_Channel *channel, const UA_CreateSubscriptionRequest *request,
+                                   UA_CreateSubscriptionResponse *response)
+{
+
+	response->subscriptionId = 42;
+	response->revisedPublishingInterval = 10000;
+	response->revisedLifetimeCount = 120000;
+	response->revisedMaxKeepAliveCount = 50;
+	return UA_SUCCESS;
+}