libiec61850  1.6.0
Macros | Typedefs | Functions
Server side sampled values control block (SVCB) handling

Functions and callbacks to handle sampled values control blocks on the server side. More...

Macros

#define IEC61850_SVCB_EVENT_ENABLE   1
 
#define IEC61850_SVCB_EVENT_DISABLE   0
 

Typedefs

typedef void(* SVCBEventHandler) (SVControlBlock *svcb, int event, void *parameter)
 callback handler for SVCB events. More...
 

Functions

LIB61850_API void IedServer_setSVCBHandler (IedServer self, SVControlBlock *svcb, SVCBEventHandler handler, void *parameter)
 Set a handler for SVCB control block events (enable/disable) More...
 

Detailed Description

Functions and callbacks to handle sampled values control blocks on the server side.

Macro Definition Documentation

◆ IEC61850_SVCB_EVENT_DISABLE

#define IEC61850_SVCB_EVENT_DISABLE   0

Control block has been disabled by client

◆ IEC61850_SVCB_EVENT_ENABLE

#define IEC61850_SVCB_EVENT_ENABLE   1

Control block has been enabled by client

Typedef Documentation

◆ SVCBEventHandler

typedef void(* SVCBEventHandler) (SVControlBlock *svcb, int event, void *parameter)

callback handler for SVCB events.

Parameters
svcbthe related SVCB instance
theevent type
userdefined parameter

Function Documentation

◆ IedServer_setSVCBHandler()

LIB61850_API void IedServer_setSVCBHandler ( IedServer  self,
SVControlBlock *  svcb,
SVCBEventHandler  handler,
void *  parameter 
)

Set a handler for SVCB control block events (enable/disable)

Parameters
selfthe instance of IedServer to operate on.
svcbthe SVCB control block instance
handlerthe event handler to be used
parametera user provided parameter that is passed to the handler.