Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Manchev
osie
Commits
2be1630e
Commit
2be1630e
authored
Apr 14, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
eb2e5c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
coupler/opc-ua-server/server_subscribe.c
coupler/opc-ua-server/server_subscribe.c
+4
-8
No files found.
coupler/opc-ua-server/server_subscribe.c
View file @
2be1630e
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment