libiec61850  1.5.3
Macros | Typedefs | Functions
Server side GOOSE control block (GoCB) handling

Macros

#define IEC61850_GOCB_EVENT_ENABLE   1
 
#define IEC61850_GOCB_EVENT_DISABLE   0
 

Typedefs

typedef struct sMmsGooseControlBlock * MmsGooseControlBlock
 
typedef void(* GoCBEventHandler) (MmsGooseControlBlock goCb, int event, void *parameter)
 

Functions

LIB61850_API void IedServer_setGoCBHandler (IedServer self, GoCBEventHandler handler, void *parameter)
 Set a callback handler for GoCB events (enabled/disabled) More...
 
LIB61850_API char * MmsGooseControlBlock_getName (MmsGooseControlBlock self)
 
LIB61850_API LogicalNode * MmsGooseControlBlock_getLogicalNode (MmsGooseControlBlock self)
 
LIB61850_API DataSet * MmsGooseControlBlock_getDataSet (MmsGooseControlBlock self)
 
LIB61850_API bool MmsGooseControlBlock_getGoEna (MmsGooseControlBlock self)
 
LIB61850_API int MmsGooseControlBlock_getMinTime (MmsGooseControlBlock self)
 
LIB61850_API int MmsGooseControlBlock_getMaxTime (MmsGooseControlBlock self)
 
LIB61850_API bool MmsGooseControlBlock_getFixedOffs (MmsGooseControlBlock self)
 
LIB61850_API bool MmsGooseControlBlock_getNdsCom (MmsGooseControlBlock self)
 

Detailed Description

Macro Definition Documentation

◆ IEC61850_GOCB_EVENT_DISABLE

#define IEC61850_GOCB_EVENT_DISABLE   0

Control block has been disabled by client

◆ IEC61850_GOCB_EVENT_ENABLE

#define IEC61850_GOCB_EVENT_ENABLE   1

Control block has been enabled by client

Typedef Documentation

◆ GoCBEventHandler

typedef void(* GoCBEventHandler) (MmsGooseControlBlock goCb, int event, void *parameter)

◆ MmsGooseControlBlock

typedef struct sMmsGooseControlBlock* MmsGooseControlBlock

Function Documentation

◆ IedServer_setGoCBHandler()

LIB61850_API void IedServer_setGoCBHandler ( IedServer  self,
GoCBEventHandler  handler,
void *  parameter 
)

Set a callback handler for GoCB events (enabled/disabled)

The callback handler is called whenever a GOOSE control block is enabled or disabled. It can be used to integrate the external GOOSE publisher with the IEC 61850/MMS server.

Parameters
selfthe instance of IedServer to operate on.
handlerthe callback handler
parameteruser provided parameter that is passed to the callback handler

◆ MmsGooseControlBlock_getDataSet()

LIB61850_API DataSet* MmsGooseControlBlock_getDataSet ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getFixedOffs()

LIB61850_API bool MmsGooseControlBlock_getFixedOffs ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getGoEna()

LIB61850_API bool MmsGooseControlBlock_getGoEna ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getLogicalNode()

LIB61850_API LogicalNode* MmsGooseControlBlock_getLogicalNode ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getMaxTime()

LIB61850_API int MmsGooseControlBlock_getMaxTime ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getMinTime()

LIB61850_API int MmsGooseControlBlock_getMinTime ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getName()

LIB61850_API char* MmsGooseControlBlock_getName ( MmsGooseControlBlock  self)

◆ MmsGooseControlBlock_getNdsCom()

LIB61850_API bool MmsGooseControlBlock_getNdsCom ( MmsGooseControlBlock  self)