Functions and callbacks to handle sampled values control blocks on the server side.
More...
|
typedef void(* | SVCBEventHandler) (SVControlBlock *svcb, int event, void *parameter) |
| callback handler for SVCB events. More...
|
|
Functions and callbacks to handle sampled values control blocks on the server side.
◆ 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
◆ SVCBEventHandler
typedef void(* SVCBEventHandler) (SVControlBlock *svcb, int event, void *parameter) |
callback handler for SVCB events.
- Parameters
-
svcb | the related SVCB instance |
the | event type |
user | defined parameter |
◆ 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
-
self | the instance of IedServer to operate on. |
svcb | the SVCB control block instance |
handler | the event handler to be used |
parameter | a user provided parameter that is passed to the handler. |