|
|
@ -1642,6 +1642,10 @@ IedServer_setLogStorage(IedServer self, const char* logRef, LogStorage logStorag
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#if (CONFIG_IEC61850_LOG_SERVICE == 1)
|
|
|
|
#if (CONFIG_IEC61850_LOG_SERVICE == 1)
|
|
|
|
MmsMapping_setLogStorage(self->mmsMapping, logRef, logStorage);
|
|
|
|
MmsMapping_setLogStorage(self->mmsMapping, logRef, logStorage);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
(void)self;
|
|
|
|
|
|
|
|
(void)logRef;
|
|
|
|
|
|
|
|
(void)logStorage;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1659,9 +1663,14 @@ IedServer_setServerIdentity(IedServer self, const char* vendor, const char* mode
|
|
|
|
if (self->revision)
|
|
|
|
if (self->revision)
|
|
|
|
GLOBAL_FREEMEM(self->revision);
|
|
|
|
GLOBAL_FREEMEM(self->revision);
|
|
|
|
|
|
|
|
|
|
|
|
self->vendorName = StringUtils_copyString(vendor);
|
|
|
|
if (vendor)
|
|
|
|
self->modelName = StringUtils_copyString(model);
|
|
|
|
self->vendorName = StringUtils_copyString(vendor);
|
|
|
|
self->revision = StringUtils_copyString(revision);
|
|
|
|
|
|
|
|
|
|
|
|
if (model)
|
|
|
|
|
|
|
|
self->modelName = StringUtils_copyString(model);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (revision)
|
|
|
|
|
|
|
|
self->revision = StringUtils_copyString(revision);
|
|
|
|
|
|
|
|
|
|
|
|
MmsServer_setServerIdentity(self->mmsServer, self->vendorName, self->modelName, self->revision);
|
|
|
|
MmsServer_setServerIdentity(self->mmsServer, self->vendorName, self->modelName, self->revision);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|