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
2925660a
Commit
2925660a
authored
Feb 20, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dedicated name.
parent
f20868bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
coupler/keep_alive_publisher.h
coupler/keep_alive_publisher.h
+3
-3
No files found.
coupler/keep_alive_publisher.h
View file @
2925660a
...
...
@@ -31,7 +31,7 @@ static void addPublishedDataSet(UA_Server *server) {
UA_PublishedDataSetConfig
publishedDataSetConfig
;
memset
(
&
publishedDataSetConfig
,
0
,
sizeof
(
UA_PublishedDataSetConfig
));
publishedDataSetConfig
.
publishedDataSetType
=
UA_PUBSUB_DATASET_PUBLISHEDITEMS
;
publishedDataSetConfig
.
name
=
UA_STRING
(
"
Demo
PDS"
);
publishedDataSetConfig
.
name
=
UA_STRING
(
"
Heartbeat
PDS"
);
/* Create new PublishedDataSet based on the PublishedDataSetConfig. */
UA_Server_addPublishedDataSet
(
server
,
&
publishedDataSetConfig
,
&
publishedDataSetIdent
);
}
...
...
@@ -41,7 +41,7 @@ static void addWriterGroup(UA_Server *server) {
* PubSubConnection. */
UA_WriterGroupConfig
writerGroupConfig
;
memset
(
&
writerGroupConfig
,
0
,
sizeof
(
UA_WriterGroupConfig
));
writerGroupConfig
.
name
=
UA_STRING
(
"
Demo
WriterGroup"
);
writerGroupConfig
.
name
=
UA_STRING
(
"
Heartbeat
WriterGroup"
);
writerGroupConfig
.
publishingInterval
=
PUBLISHING_INTERVAL
;
writerGroupConfig
.
keepAliveTime
=
PUBLISHING_INTERVAL
;
writerGroupConfig
.
enabled
=
UA_FALSE
;
...
...
@@ -73,7 +73,7 @@ static void addDataSetWriter(UA_Server *server) {
UA_NodeId
dataSetWriterIdent
;
UA_DataSetWriterConfig
dataSetWriterConfig
;
memset
(
&
dataSetWriterConfig
,
0
,
sizeof
(
UA_DataSetWriterConfig
));
dataSetWriterConfig
.
name
=
UA_STRING
(
"
Demo
DataSetWriter"
);
dataSetWriterConfig
.
name
=
UA_STRING
(
"
Heartbeat
DataSetWriter"
);
dataSetWriterConfig
.
dataSetWriterId
=
DATASET_WRITER_ID
;
dataSetWriterConfig
.
keyFrameCount
=
10
;
UA_Server_addDataSetWriter
(
server
,
writerGroupIdent
,
publishedDataSetIdent
,
...
...
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