- added GooseSubscriber_getConfRev function

pull/6/head
Michael Zillgith 10 years ago
parent 0193902da1
commit ae3ddfd89c

@ -109,6 +109,12 @@ GooseSubscriber_isTest(GooseSubscriber self)
return self->simulation; return self->simulation;
} }
uint32_t
GooseSubscriber_getConfRev(GooseSubscriber self)
{
return self->confRev;
}
bool bool
GooseSubscriber_needsCommission(GooseSubscriber self) GooseSubscriber_needsCommission(GooseSubscriber self)
{ {

@ -125,6 +125,17 @@ GooseSubscriber_getSqNum(GooseSubscriber self);
bool bool
GooseSubscriber_isTest(GooseSubscriber self); GooseSubscriber_isTest(GooseSubscriber self);
/**
* \brief returns the confRev value of the last received GOOSE message
*
* \param self GooseSubscriber instance to operate on.
*
* \return the confRev value of the last received GOOSE message. If the message does not contain such
* a value the result is always 0
*/
uint32_t
GooseSubscriber_getConfRev(GooseSubscriber self);
bool bool
GooseSubscriber_needsCommission(GooseSubscriber self); GooseSubscriber_needsCommission(GooseSubscriber self);

@ -498,3 +498,4 @@ EXPORTS
SVControlBlock_create SVControlBlock_create
SVControlBlock_addPhyComAddress SVControlBlock_addPhyComAddress
GSEControlBlock_addPhyComAddress GSEControlBlock_addPhyComAddress
GooseSubscriber_getConfRev

@ -522,3 +522,4 @@ EXPORTS
SVControlBlock_create SVControlBlock_create
SVControlBlock_addPhyComAddress SVControlBlock_addPhyComAddress
GSEControlBlock_addPhyComAddress GSEControlBlock_addPhyComAddress
GooseSubscriber_getConfRev
Loading…
Cancel
Save