File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -713,6 +713,12 @@ void NukiNetworkLock::publishAuthorizationInfo(const std::list<NukiLock::LogEntr
713713
714714 memset (str, 0 , sizeof (str));
715715 NukiLock::completionStatusToString ((NukiLock::CompletionStatus)log.data [3 ], str);
716+
717+ if (strcmp (str, " undefined" ) == 0 )
718+ {
719+ itoa (log.data [3 ], str, 10 );
720+ }
721+
716722 entry[" completionStatus" ] = str;
717723 break ;
718724 case NukiLock::LoggingType::KeypadAction:
Original file line number Diff line number Diff line change @@ -574,6 +574,12 @@ void NukiNetworkOpener::publishAuthorizationInfo(const std::list<NukiOpener::Log
574574
575575 memset (str, 0 , sizeof (str));
576576 NukiOpener::completionStatusToString ((NukiOpener::CompletionStatus)log.data [3 ], str);
577+
578+ if (strcmp (str, " undefined" ) == 0 )
579+ {
580+ itoa (log.data [3 ], str, 10 );
581+ }
582+
577583 entry[" completionStatus" ] = str;
578584 break ;
579585 case NukiOpener::LoggingType::KeypadAction:
You can’t perform that action at this time.
0 commit comments