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
1
Merge Requests
1
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
nexedi
osie
Commits
324ac16d
Commit
324ac16d
authored
Sep 02, 2022
by
Ivan Tyagov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup due to changes in upstream/master.
parent
ed68f015
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
coupler/opc-ua-server/keep_alive_publisher.h
coupler/opc-ua-server/keep_alive_publisher.h
+1
-1
coupler/opc-ua-server/keep_alive_subscriber.h
coupler/opc-ua-server/keep_alive_subscriber.h
+1
-1
No files found.
coupler/opc-ua-server/keep_alive_publisher.h
View file @
324ac16d
...
...
@@ -19,7 +19,7 @@ static void addPubSubConnection(UA_Server *server, UA_String *transportProfile,
&
UA_TYPES
[
UA_TYPES_NETWORKADDRESSURLDATATYPE
]);
/* Changed to static publisherId from random generation to identify
* the publisher on Subscriber side */
connectionConfig
.
publisherId
.
numeric
=
PUBLISHER_ID
;
connectionConfig
.
publisherId
.
uint32
=
PUBLISHER_ID
;
UA_Server_addPubSubConnection
(
server
,
&
connectionConfig
,
&
connectionIdent
);
}
...
...
coupler/opc-ua-server/keep_alive_subscriber.h
View file @
324ac16d
...
...
@@ -72,7 +72,7 @@ static UA_StatusCode addPubSubConnectionSubscriber(UA_Server *server, UA_String
connectionConfig
.
enabled
=
UA_TRUE
;
UA_Variant_setScalar
(
&
connectionConfig
.
address
,
networkAddressUrl
,
&
UA_TYPES
[
UA_TYPES_NETWORKADDRESSURLDATATYPE
]);
connectionConfig
.
publisherId
.
numeric
=
UA_UInt32_random
();
connectionConfig
.
publisherId
.
uint32
=
UA_UInt32_random
();
retval
|=
UA_Server_addPubSubConnection
(
server
,
&
connectionConfig
,
&
connectionIdentifier
);
if
(
retval
!=
UA_STATUSCODE_GOOD
)
{
return
retval
;
...
...
Ivan Tyagov
@Tyagov
mentioned in commit
6cbe1704
·
Sep 02, 2022
mentioned in commit
6cbe1704
mentioned in commit 6cbe1704f73a9bfd856be1f3e650f4372a34c640
Toggle commit list
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