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
06563242
Commit
06563242
authored
Apr 27, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format.
parent
d66d929e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+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_subscriber.h
View file @
06563242
...
@@ -55,7 +55,7 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
...
@@ -55,7 +55,7 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
char
*
id_str
=
malloc
(
length
+
1
);
char
*
id_str
=
malloc
(
length
+
1
);
snprintf
(
id_str
,
length
+
1
,
"%d"
,
id
);
snprintf
(
id_str
,
length
+
1
,
"%d"
,
id
);
char
*
last_seen_timestamp
=
getItem
(
SUBSCRIBER_DICT
,
id_str
);
char
*
last_seen_timestamp
=
getItem
(
SUBSCRIBER_DICT
,
id_str
);
UA_LOG_INFO
(
UA_Log_Stdout
,
UA_LOGCATEGORY_USERLAND
,
"
\t
check
id_str
=%s, last_seen=%s"
,
id_str
,
last_seen_timestamp
);
UA_LOG_INFO
(
UA_Log_Stdout
,
UA_LOGCATEGORY_USERLAND
,
"
\t
check
ID
=%s, last_seen=%s"
,
id_str
,
last_seen_timestamp
);
if
(
last_seen_timestamp
!=
NULL
){
if
(
last_seen_timestamp
!=
NULL
){
// we do have timestamp for this coupler ID
// we do have timestamp for this coupler ID
int
last_seen_timestamp_int
=
atoi
(
last_seen_timestamp
);
int
last_seen_timestamp_int
=
atoi
(
last_seen_timestamp
);
...
...
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