libIEC61850  0.8.2
Open-source IEC 61850 MMS/GOOSE server and client library
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Functions
goose_subscriber.h File Reference
#include "libiec61850_common_api.h"
#include "mms_value.h"

Go to the source code of this file.

Typedefs

typedef struct sGooseSubscriber * GooseSubscriber
 
typedef void(* GooseListener )(GooseSubscriber subscriber, void *parameter)
 user provided callback function that will be invoked when a GOOSE message is received. More...
 

Functions

GooseSubscriber GooseSubscriber_create (char *goCbRef, MmsValue *dataSetValues)
 create a new GOOSE subscriber instance. More...
 
void GooseSubscriber_setAppId (GooseSubscriber self, uint16_t appId)
 set the APPID used by the subscriber to filter relevant messages. More...
 
bool GooseSubscriber_isValid (GooseSubscriber self)
 Check if subscriber state is valid. More...
 
void GooseSubscriber_setGoId (GooseSubscriber self, const char *goId)
 
void GooseSubscriber_destroy (GooseSubscriber self)
 
void GooseSubscriber_setListener (GooseSubscriber self, GooseListener listener, void *parameter)
 set a callback function that will be invoked when a GOOSE message has been received. More...
 
uint32_t GooseSubscriber_getStNum (GooseSubscriber self)
 
uint32_t GooseSubscriber_getSqNum (GooseSubscriber self)
 
bool GooseSubscriber_isTest (GooseSubscriber self)
 
bool GooseSubscriber_needsCommission (GooseSubscriber self)
 
uint32_t GooseSubscriber_getTimeAllowedToLive (GooseSubscriber self)
 
uint64_t GooseSubscriber_getTimestamp (GooseSubscriber self)
 
MmsValueGooseSubscriber_getDataSetValues (GooseSubscriber self)
 get the data set values received with the last report More...