libiec61850  1.2.0
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_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)
 return the state number (stNum) of the last received GOOSE message. More...
 
uint32_t GooseSubscriber_getSqNum (GooseSubscriber self)
 return the sequence number (sqNum) of the last received GOOSE message. More...
 
bool GooseSubscriber_isTest (GooseSubscriber self)
 returns the test flag of the last received GOOSE message More...
 
uint32_t GooseSubscriber_getConfRev (GooseSubscriber self)
 returns the confRev value of the last received GOOSE message More...
 
bool GooseSubscriber_needsCommission (GooseSubscriber self)
 returns the value of the ndsCom (needs commission) flag of the last received GOOSE message. More...
 
uint32_t GooseSubscriber_getTimeAllowedToLive (GooseSubscriber self)
 Get the TimeAllowedToLive value of the last received message. More...
 
uint64_t GooseSubscriber_getTimestamp (GooseSubscriber self)
 Get the timestamp of the last received message. More...
 
MmsValueGooseSubscriber_getDataSetValues (GooseSubscriber self)
 get the data set values received with the last report More...