Merge branch 'v1.5' of bitbucket.com:mz-automation/libiec61850 into v1.5

pull/487/head
Michael Zillgith 2 years ago
commit e7c2e37ad4

@ -27,6 +27,7 @@
#include "libiec61850_platform_includes.h" #include "libiec61850_platform_includes.h"
#include "stack_config.h" #include "stack_config.h"
#include <inttypes.h>
#define READ_BUFFER_MAX_SIZE 1024 #define READ_BUFFER_MAX_SIZE 1024
@ -452,6 +453,15 @@ ConfigFileParser_createModelFromConfigFile(FileHandle fileHandle)
} }
break; break;
case IEC61850_TIMESTAMP:
case IEC61850_ENTRY_TIME:
{
uint64_t value;
if (sscanf(valueIndicator + 1, "%" SCNu64, &value) != 1) goto exit_error;
dataAttribute->mmsValue = MmsValue_newUtcTimeByMsTime(value);
}
break;
default: default:
break; break;

Loading…
Cancel
Save