Merge pull request #367 from cedricboudinet/svsub_getSmpSynch_v1.5

adding SVSubscriber_ASDU_getSmpSynch to v1.5
pull/375/head
Michael Zillgith 4 years ago committed by GitHub
commit c838255c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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