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

pull/383/head
Michael Zillgith 3 years ago
commit 1213b67a5a

@ -79,7 +79,7 @@ StringUtils_createBufferFromHexString(char* hexString, uint8_t* buffer);
* \brief test if string starts with prefix * \brief test if string starts with prefix
*/ */
LIB61850_INTERNAL bool LIB61850_INTERNAL bool
StringUtils_startsWith(char* string, char* prefix); StringUtils_startsWith(const char* string, const char* prefix);
LIB61850_INTERNAL bool LIB61850_INTERNAL bool
StringUtils_endsWith(const char* str, const char* suffix); StringUtils_endsWith(const char* str, const char* suffix);

@ -230,7 +230,7 @@ StringUtils_createBufferFromHexString(char* hexString, uint8_t* buffer)
} }
bool bool
StringUtils_startsWith(char* string, char* prefix) StringUtils_startsWith(const char* string, const char* prefix)
{ {
int index = 0; int index = 0;

@ -55,6 +55,7 @@ IedServerConfig_create()
self->edition = IEC_61850_EDITION_2; self->edition = IEC_61850_EDITION_2;
self->maxMmsConnections = 5; self->maxMmsConnections = 5;
self->enableEditSG = true; self->enableEditSG = true;
self->enableResvTmsForSGCB = true;
self->enableResvTmsForBRCB = true; self->enableResvTmsForBRCB = true;
self->enableOwnerForRCB = false; self->enableOwnerForRCB = false;
} }

Loading…
Cancel
Save