adding SVSubscriber_ASDU_getSmpSynch to v1.5

pull/367/head
Cedric Boudinet 4 years ago
parent 8eeb6f06b3
commit 20b99b4ef3

@ -602,6 +602,13 @@ SVSubscriber_setListener(SVSubscriber self, SVUpdateListener listener, void* pa
self->listenerParameter = parameter;
}
uint8_t
SVSubscriber_ASDU_getSmpSynch(SVSubscriber_ASDU self)
{
return self->smpSynch[0];
}
uint16_t
SVSubscriber_ASDU_getSmpCnt(SVSubscriber_ASDU self)
{

@ -539,6 +539,16 @@ SVSubscriber_ASDU_getQuality(SVSubscriber_ASDU self, int index);
LIB61850_API int
SVSubscriber_ASDU_getDataSize(SVSubscriber_ASDU self);
/**
* \brief return the SmpSynch value included in the SV ASDU
*
* The SmpSynch gives information about the clock synchronization.
*
* \param self ASDU object instance
*/
uint8_t
SVSubscriber_ASDU_getSmpSynch(SVSubscriber_ASDU self);
#ifndef DEPRECATED
#if defined(__GNUC__) || defined(__clang__)
#define DEPRECATED __attribute__((deprecated))

Loading…
Cancel
Save