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
Nikola Balog
osie
Commits
fbb20ccc
Commit
fbb20ccc
authored
May 04, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
f97575f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coupler/opc-ua-server/keep_alive_subscriber.h
coupler/opc-ua-server/keep_alive_subscriber.h
+2
-2
No files found.
coupler/opc-ua-server/keep_alive_subscriber.h
View file @
fbb20ccc
...
@@ -56,7 +56,7 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
...
@@ -56,7 +56,7 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
}
}
/* Add new connection to the server */
/* Add new connection to the server */
static
UA_StatusCode
addPubSubConnection
XXX
(
UA_Server
*
server
,
UA_String
*
transportProfile
,
static
UA_StatusCode
addPubSubConnection
Subscriber
(
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
))
{
...
@@ -292,7 +292,7 @@ static int enableSubscribeToHeartBeat(UA_Server *server, UA_ServerConfig *config
...
@@ -292,7 +292,7 @@ static int enableSubscribeToHeartBeat(UA_Server *server, UA_ServerConfig *config
// enable subscribe to keep-alive messages
// enable subscribe to keep-alive messages
UA_String
transportProfile
=
UA_STRING
(
DEFAULT_TRANSPORT_PROFILE
);
UA_String
transportProfile
=
UA_STRING
(
DEFAULT_TRANSPORT_PROFILE
);
UA_NetworkAddressUrlDataType
networkAddressUrl
=
{
UA_STRING_NULL
,
UA_STRING
(
NETWORK_ADDRESS_URL_DATA_TYPE
)};
UA_NetworkAddressUrlDataType
networkAddressUrl
=
{
UA_STRING_NULL
,
UA_STRING
(
NETWORK_ADDRESS_URL_DATA_TYPE
)};
addPubSubConnection
XXX
(
server
,
&
transportProfile
,
&
networkAddressUrl
);
addPubSubConnection
Subscriber
(
server
,
&
transportProfile
,
&
networkAddressUrl
);
/* Add ReaderGroup to the created PubSubConnection */
/* Add ReaderGroup to the created PubSubConnection */
addReaderGroup
(
server
);
addReaderGroup
(
server
);
...
...
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