libiec61850
1.6.0
|
Functions | |
LIB61850_API uint16_t | SVSubscriber_ASDU_getSmpCnt (SVSubscriber_ASDU self) |
return the SmpCnt value included in the SV ASDU More... | |
LIB61850_API const char * | SVSubscriber_ASDU_getSvId (SVSubscriber_ASDU self) |
return the SvID value included in the SV ASDU More... | |
LIB61850_API const char * | SVSubscriber_ASDU_getDatSet (SVSubscriber_ASDU self) |
return the DatSet value included in the SV ASDU More... | |
LIB61850_API uint32_t | SVSubscriber_ASDU_getConfRev (SVSubscriber_ASDU self) |
return the ConfRev value included in the SV ASDU More... | |
LIB61850_API uint8_t | SVSubscriber_ASDU_getSmpMod (SVSubscriber_ASDU self) |
return the SmpMod value included in the SV ASDU More... | |
LIB61850_API uint16_t | SVSubscriber_ASDU_getSmpRate (SVSubscriber_ASDU self) |
return the SmpRate value included in the SV ASDU More... | |
LIB61850_API bool | SVSubscriber_ASDU_hasDatSet (SVSubscriber_ASDU self) |
Check if DatSet value is included in the SV ASDU. More... | |
LIB61850_API bool | SVSubscriber_ASDU_hasRefrTm (SVSubscriber_ASDU self) |
Check if RefrTm value is included in the SV ASDU. More... | |
LIB61850_API bool | SVSubscriber_ASDU_hasSmpMod (SVSubscriber_ASDU self) |
Check if SmpMod value is included in the SV ASDU. More... | |
LIB61850_API bool | SVSubscriber_ASDU_hasSmpRate (SVSubscriber_ASDU self) |
Check if SmpRate value is included in the SV ASDU. More... | |
LIB61850_API uint64_t | SVSubscriber_ASDU_getRefrTmAsMs (SVSubscriber_ASDU self) |
Get the RefrTim value included in SV ASDU as milliseconds timestamp. More... | |
LIB61850_API nsSinceEpoch | SVSubscriber_ASDU_getRefrTmAsNs (SVSubscriber_ASDU self) |
Get the RefrTim value included in SV ASDU as nanoseconds timestamp. More... | |
LIB61850_API int8_t | SVSubscriber_ASDU_getINT8 (SVSubscriber_ASDU self, int index) |
Get an INT8 data value in the data part of the ASDU. More... | |
LIB61850_API int16_t | SVSubscriber_ASDU_getINT16 (SVSubscriber_ASDU self, int index) |
Get an INT16 data value in the data part of the ASDU. More... | |
LIB61850_API int32_t | SVSubscriber_ASDU_getINT32 (SVSubscriber_ASDU self, int index) |
Get an INT32 data value in the data part of the ASDU. More... | |
LIB61850_API int64_t | SVSubscriber_ASDU_getINT64 (SVSubscriber_ASDU self, int index) |
Get an INT64 data value in the data part of the ASDU. More... | |
LIB61850_API uint8_t | SVSubscriber_ASDU_getINT8U (SVSubscriber_ASDU self, int index) |
Get an INT8U data value in the data part of the ASDU. More... | |
LIB61850_API uint16_t | SVSubscriber_ASDU_getINT16U (SVSubscriber_ASDU self, int index) |
Get an INT16U data value in the data part of the ASDU. More... | |
LIB61850_API uint32_t | SVSubscriber_ASDU_getINT32U (SVSubscriber_ASDU self, int index) |
Get an INT32U data value in the data part of the ASDU. More... | |
LIB61850_API uint64_t | SVSubscriber_ASDU_getINT64U (SVSubscriber_ASDU self, int index) |
Get an INT64U data value in the data part of the ASDU. More... | |
LIB61850_API float | SVSubscriber_ASDU_getFLOAT32 (SVSubscriber_ASDU self, int index) |
Get an FLOAT32 data value in the data part of the ASDU. More... | |
LIB61850_API double | SVSubscriber_ASDU_getFLOAT64 (SVSubscriber_ASDU self, int index) |
Get an FLOAT64 data value in the data part of the ASDU. More... | |
LIB61850_API Timestamp | SVSubscriber_ASDU_getTimestamp (SVSubscriber_ASDU self, int index) |
Get a timestamp data value in the data part of the ASDU. More... | |
LIB61850_API Quality | SVSubscriber_ASDU_getQuality (SVSubscriber_ASDU self, int index) |
Get a quality value in the data part of the ASDU. More... | |
LIB61850_API int | SVSubscriber_ASDU_getDataSize (SVSubscriber_ASDU self) |
Returns the size of the data part of the ASDU. More... | |
uint8_t | SVSubscriber_ASDU_getSmpSynch (SVSubscriber_ASDU self) |
return the SmpSynch value included in the SV ASDU More... | |
LIB61850_API uint32_t SVSubscriber_ASDU_getConfRev | ( | SVSubscriber_ASDU | self | ) |
return the ConfRev value included in the SV ASDU
self | ASDU object instance |
LIB61850_API int SVSubscriber_ASDU_getDataSize | ( | SVSubscriber_ASDU | self | ) |
Returns the size of the data part of the ASDU.
self | ASDU object instance |
LIB61850_API const char* SVSubscriber_ASDU_getDatSet | ( | SVSubscriber_ASDU | self | ) |
return the DatSet value included in the SV ASDU
self | ASDU object instance |
LIB61850_API float SVSubscriber_ASDU_getFLOAT32 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an FLOAT32 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API double SVSubscriber_ASDU_getFLOAT64 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an FLOAT64 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API int16_t SVSubscriber_ASDU_getINT16 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT16 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API uint16_t SVSubscriber_ASDU_getINT16U | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT16U data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API int32_t SVSubscriber_ASDU_getINT32 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT32 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API uint32_t SVSubscriber_ASDU_getINT32U | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT32U data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API int64_t SVSubscriber_ASDU_getINT64 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT64 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API uint64_t SVSubscriber_ASDU_getINT64U | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT64U data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API int8_t SVSubscriber_ASDU_getINT8 | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT8 data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API uint8_t SVSubscriber_ASDU_getINT8U | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get an INT8U data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API Quality SVSubscriber_ASDU_getQuality | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get a quality value in the data part of the ASDU.
NOTE: Quality is encoded as BITSTRING (4 byte)
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API uint64_t SVSubscriber_ASDU_getRefrTmAsMs | ( | SVSubscriber_ASDU | self | ) |
Get the RefrTim value included in SV ASDU as milliseconds timestamp.
self | ASDU object instance |
LIB61850_API nsSinceEpoch SVSubscriber_ASDU_getRefrTmAsNs | ( | SVSubscriber_ASDU | self | ) |
Get the RefrTim value included in SV ASDU as nanoseconds timestamp.
self | ASDU object instance |
LIB61850_API uint16_t SVSubscriber_ASDU_getSmpCnt | ( | SVSubscriber_ASDU | self | ) |
return the SmpCnt value included in the SV ASDU
The SmpCnt (sample counter) is increased for each ASDU to identify the sample.
self | ASDU object instance |
LIB61850_API uint8_t SVSubscriber_ASDU_getSmpMod | ( | SVSubscriber_ASDU | self | ) |
return the SmpMod value included in the SV ASDU
self | ASDU object instance |
LIB61850_API uint16_t SVSubscriber_ASDU_getSmpRate | ( | SVSubscriber_ASDU | self | ) |
return the SmpRate value included in the SV ASDU
self | ASDU object instance |
uint8_t SVSubscriber_ASDU_getSmpSynch | ( | SVSubscriber_ASDU | self | ) |
return the SmpSynch value included in the SV ASDU
The SmpSynch gives information about the clock synchronization.
self | ASDU object instance |
LIB61850_API const char* SVSubscriber_ASDU_getSvId | ( | SVSubscriber_ASDU | self | ) |
return the SvID value included in the SV ASDU
self | ASDU object instance |
LIB61850_API Timestamp SVSubscriber_ASDU_getTimestamp | ( | SVSubscriber_ASDU | self, |
int | index | ||
) |
Get a timestamp data value in the data part of the ASDU.
self | ASDU object instance |
index | the index (byte position of the start) of the data in the data part |
LIB61850_API bool SVSubscriber_ASDU_hasDatSet | ( | SVSubscriber_ASDU | self | ) |
Check if DatSet value is included in the SV ASDU.
self | ASDU object instance |
LIB61850_API bool SVSubscriber_ASDU_hasRefrTm | ( | SVSubscriber_ASDU | self | ) |
Check if RefrTm value is included in the SV ASDU.
self | ASDU object instance |
LIB61850_API bool SVSubscriber_ASDU_hasSmpMod | ( | SVSubscriber_ASDU | self | ) |
Check if SmpMod value is included in the SV ASDU.
self | ASDU object instance |
LIB61850_API bool SVSubscriber_ASDU_hasSmpRate | ( | SVSubscriber_ASDU | self | ) |
Check if SmpRate value is included in the SV ASDU.
self | ASDU object instance |