Commit 2be1630e authored by Ivan Tyagov's avatar Ivan Tyagov

WIP

parent eb2e5c92
...@@ -55,8 +55,7 @@ UA_DataSetReaderConfig readerConfig; ...@@ -55,8 +55,7 @@ UA_DataSetReaderConfig readerConfig;
static void fillTestDataSetMetaData(UA_DataSetMetaDataType *pMetaData); static void fillTestDataSetMetaData(UA_DataSetMetaDataType *pMetaData);
/* Add new connection to the server */ /* Add new connection to the server */
static UA_StatusCode static UA_StatusCode addPubSubConnection(UA_Server *server, UA_String *transportProfile,
addPubSubConnection(UA_Server *server, UA_String *transportProfile,
UA_NetworkAddressUrlDataType *networkAddressUrl) { UA_NetworkAddressUrlDataType *networkAddressUrl) {
if((server == NULL) || (transportProfile == NULL) || if((server == NULL) || (transportProfile == NULL) ||
(networkAddressUrl == NULL)) { (networkAddressUrl == NULL)) {
...@@ -88,8 +87,7 @@ addPubSubConnection(UA_Server *server, UA_String *transportProfile, ...@@ -88,8 +87,7 @@ addPubSubConnection(UA_Server *server, UA_String *transportProfile,
* created within a PubSubConnection and automatically deleted if the connection * created within a PubSubConnection and automatically deleted if the connection
* is removed. All network message related filters are only available in the DataSetReader. */ * is removed. All network message related filters are only available in the DataSetReader. */
/* Add ReaderGroup to the created connection */ /* Add ReaderGroup to the created connection */
static UA_StatusCode static UA_StatusCode addReaderGroup(UA_Server *server) {
addReaderGroup(UA_Server *server) {
if(server == NULL) { if(server == NULL) {
return UA_STATUSCODE_BADINTERNALERROR; return UA_STATUSCODE_BADINTERNALERROR;
} }
...@@ -113,8 +111,7 @@ addReaderGroup(UA_Server *server) { ...@@ -113,8 +111,7 @@ addReaderGroup(UA_Server *server) {
* on the Subscriber side. DataSetReader must be linked with a * on the Subscriber side. DataSetReader must be linked with a
* SubscribedDataSet and be contained within a ReaderGroup. */ * SubscribedDataSet and be contained within a ReaderGroup. */
/* Add DataSetReader to the ReaderGroup */ /* Add DataSetReader to the ReaderGroup */
static UA_StatusCode static UA_StatusCode addDataSetReader(UA_Server *server) {
addDataSetReader(UA_Server *server) {
if(server == NULL) { if(server == NULL) {
return UA_STATUSCODE_BADINTERNALERROR; return UA_STATUSCODE_BADINTERNALERROR;
} }
...@@ -146,8 +143,7 @@ addDataSetReader(UA_Server *server) { ...@@ -146,8 +143,7 @@ addDataSetReader(UA_Server *server) {
* *
* Set SubscribedDataSet type to TargetVariables data type. * Set SubscribedDataSet type to TargetVariables data type.
* Add subscribedvariables to the DataSetReader */ * Add subscribedvariables to the DataSetReader */
static UA_StatusCode static UA_StatusCode addSubscribedVariables(UA_Server *server, UA_NodeId dataSetReaderId) {
addSubscribedVariables (UA_Server *server, UA_NodeId dataSetReaderId) {
if(server == NULL) if(server == NULL)
return UA_STATUSCODE_BADINTERNALERROR; return UA_STATUSCODE_BADINTERNALERROR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment