|
|
|
@ -46,14 +46,14 @@ extern "C" {
|
|
|
|
|
/**
|
|
|
|
|
* \brief create a new IedModel instance
|
|
|
|
|
*
|
|
|
|
|
* The IedModel object is the root node of an IEC 61850 service data model.
|
|
|
|
|
* The IedModel object is the root node of an IEC 61850 data model.
|
|
|
|
|
*
|
|
|
|
|
* \param name the name of the IedModel or NULL (optional - NOT YET USED)
|
|
|
|
|
* \param name the name of the IedModel
|
|
|
|
|
*
|
|
|
|
|
* \return
|
|
|
|
|
* \return the new data model instance
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API IedModel*
|
|
|
|
|
IedModel_create(const char* name/*, MemoryAllocator allocator*/);
|
|
|
|
|
IedModel_create(const char* name);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Set the name of the IED (use only for dynamic model!)
|
|
|
|
@ -196,7 +196,7 @@ DataAttribute_setValue(DataAttribute* self, MmsValue* value);
|
|
|
|
|
* \return the new RCB instance.
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API ReportControlBlock*
|
|
|
|
|
ReportControlBlock_create(const char* name, LogicalNode* parent, char* rptId, bool isBuffered, char*
|
|
|
|
|
ReportControlBlock_create(const char* name, LogicalNode* parent, const char* rptId, bool isBuffered, const char*
|
|
|
|
|
dataSetName, uint32_t confRef, uint8_t trgOps, uint8_t options, uint32_t bufTm, uint32_t intgPd);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -209,7 +209,7 @@ ReportControlBlock_create(const char* name, LogicalNode* parent, char* rptId, bo
|
|
|
|
|
* \param clientAddress buffer containing the client address (4 byte in case of an IPv4 address, 16 byte in case of an IPv6 address, NULL for no client)
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API void
|
|
|
|
|
ReportControlBlock_setPreconfiguredClient(ReportControlBlock* self, uint8_t clientType, uint8_t* clientAddress);
|
|
|
|
|
ReportControlBlock_setPreconfiguredClient(ReportControlBlock* self, uint8_t clientType, const uint8_t* clientAddress);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief create a new log control block (LCB)
|
|
|
|
@ -229,7 +229,7 @@ ReportControlBlock_setPreconfiguredClient(ReportControlBlock* self, uint8_t clie
|
|
|
|
|
* \return the new LCB instance
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API LogControlBlock*
|
|
|
|
|
LogControlBlock_create(const char* name, LogicalNode* parent, char* dataSetName, char* logRef, uint8_t trgOps,
|
|
|
|
|
LogControlBlock_create(const char* name, LogicalNode* parent, const char* dataSetName, const char* logRef, uint8_t trgOps,
|
|
|
|
|
uint32_t intgPd, bool logEna, bool reasonCode);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -274,7 +274,7 @@ SettingGroupControlBlock_create(LogicalNode* parent, uint8_t actSG, uint8_t numO
|
|
|
|
|
* \return the new GoCB instance
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API GSEControlBlock*
|
|
|
|
|
GSEControlBlock_create(const char* name, LogicalNode* parent, char* appId, char* dataSet, uint32_t confRev,
|
|
|
|
|
GSEControlBlock_create(const char* name, LogicalNode* parent, const char* appId, const char* dataSet, uint32_t confRev,
|
|
|
|
|
bool fixedOffs, int minTime, int maxTime);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -294,7 +294,7 @@ GSEControlBlock_create(const char* name, LogicalNode* parent, char* appId, char*
|
|
|
|
|
* \return the new SvCB instance
|
|
|
|
|
*/
|
|
|
|
|
LIB61850_API SVControlBlock*
|
|
|
|
|
SVControlBlock_create(const char* name, LogicalNode* parent, char* svID, char* dataSet, uint32_t confRev, uint8_t smpMod,
|
|
|
|
|
SVControlBlock_create(const char* name, LogicalNode* parent, const char* svID, const char* dataSet, uint32_t confRev, uint8_t smpMod,
|
|
|
|
|
uint16_t smpRate, uint8_t optFlds, bool isUnicast);
|
|
|
|
|
|
|
|
|
|
LIB61850_API void
|
|
|
|
|