libiec61850
1.6.0
|
Typedefs | |
typedef void(* | IedConnection_ReadObjectHandler) (uint32_t invokeId, void *parameter, IedClientError err, MmsValue *value) |
Functions | |
LIB61850_API MmsValue * | IedConnection_readObject (IedConnection self, IedClientError *error, const char *dataAttributeReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) or functional constrained data (FCD). More... | |
LIB61850_API uint32_t | IedConnection_readObjectAsync (IedConnection self, IedClientError *error, const char *objRef, FunctionalConstraint fc, IedConnection_ReadObjectHandler handler, void *parameter) |
read a functional constrained data attribute (FCDA) or functional constrained data (FCD) - async version More... | |
LIB61850_API void | IedConnection_writeObject (IedConnection self, IedClientError *error, const char *dataAttributeReference, FunctionalConstraint fc, MmsValue *value) |
write a functional constrained data attribute (FCDA) or functional constrained data (FCD). More... | |
LIB61850_API uint32_t | IedConnection_writeObjectAsync (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, MmsValue *value, IedConnection_GenericServiceHandler handler, void *parameter) |
write a functional constrained data attribute (FCDA) or functional constrained data (FCD) - async version More... | |
LIB61850_API bool | IedConnection_readBooleanValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type boolean More... | |
LIB61850_API float | IedConnection_readFloatValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type float More... | |
LIB61850_API char * | IedConnection_readStringValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type VisibleString or MmsString More... | |
LIB61850_API int32_t | IedConnection_readInt32Value (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as int32_t More... | |
LIB61850_API int64_t | IedConnection_readInt64Value (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as int64_t More... | |
LIB61850_API uint32_t | IedConnection_readUnsigned32Value (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as uint32_t More... | |
LIB61850_API Timestamp * | IedConnection_readTimestampValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, Timestamp *timeStamp) |
read a functional constrained data attribute (FCDA) of type Timestamp (UTC Time) More... | |
LIB61850_API Quality | IedConnection_readQualityValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc) |
read a functional constrained data attribute (FCDA) of type Quality More... | |
LIB61850_API void | IedConnection_writeBooleanValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, bool value) |
write a functional constrained data attribute (FCDA) of type boolean More... | |
LIB61850_API void | IedConnection_writeInt32Value (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, int32_t value) |
write a functional constrained data attribute (FCDA) of type integer More... | |
LIB61850_API void | IedConnection_writeUnsigned32Value (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, uint32_t value) |
write a functional constrained data attribute (FCDA) of type unsigned (integer) More... | |
LIB61850_API void | IedConnection_writeFloatValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, float value) |
write a functional constrained data attribute (FCDA) of type float More... | |
LIB61850_API void | IedConnection_writeVisibleStringValue (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, char *value) |
LIB61850_API void | IedConnection_writeOctetString (IedConnection self, IedClientError *error, const char *objectReference, FunctionalConstraint fc, uint8_t *value, int valueLength) |
typedef void(* IedConnection_ReadObjectHandler) (uint32_t invokeId, void *parameter, IedClientError err, MmsValue *value) |
LIB61850_API bool IedConnection_readBooleanValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type boolean
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API float IedConnection_readFloatValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type float
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API int32_t IedConnection_readInt32Value | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as int32_t
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API int64_t IedConnection_readInt64Value | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as int64_t
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API MmsValue* IedConnection_readObject | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | dataAttributeReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) or functional constrained data (FCD).
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the object/attribute to read |
fc | the functional constraint of the data attribute or data object to read |
LIB61850_API uint32_t IedConnection_readObjectAsync | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objRef, | ||
FunctionalConstraint | fc, | ||
IedConnection_ReadObjectHandler | handler, | ||
void * | parameter | ||
) |
read a functional constrained data attribute (FCDA) or functional constrained data (FCD) - async version
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the object/attribute to read |
fc | the functional constraint of the data attribute or data object to read |
handler | the user provided callback handler |
parameter | user provided parameter that is passed to the callback handler |
LIB61850_API Quality IedConnection_readQualityValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type Quality
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API char* IedConnection_readStringValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type VisibleString or MmsString
NOTE: the returned char buffer is dynamically allocated and has to be freed by the caller!
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API Timestamp* IedConnection_readTimestampValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
Timestamp * | timeStamp | ||
) |
read a functional constrained data attribute (FCDA) of type Timestamp (UTC Time)
NOTE: If the timestamp parameter is set to NULL the function allocates a new timestamp instance. Otherwise the return value is a pointer to the user provided timestamp instance. The new timestamp instance has to be freed by the caller of the function.
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
timestamp | a pointer to a user provided timestamp instance or NULL |
LIB61850_API uint32_t IedConnection_readUnsigned32Value | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc | ||
) |
read a functional constrained data attribute (FCDA) of type Integer or Unsigned and return the result as uint32_t
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute to read |
LIB61850_API void IedConnection_writeBooleanValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
bool | value | ||
) |
write a functional constrained data attribute (FCDA) of type boolean
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute or data object to write |
value | the boolean value to write |
LIB61850_API void IedConnection_writeFloatValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
float | value | ||
) |
write a functional constrained data attribute (FCDA) of type float
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute or data object to write |
value | the float value to write |
LIB61850_API void IedConnection_writeInt32Value | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
int32_t | value | ||
) |
write a functional constrained data attribute (FCDA) of type integer
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute or data object to write |
value | the int32_t value to write |
LIB61850_API void IedConnection_writeObject | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | dataAttributeReference, | ||
FunctionalConstraint | fc, | ||
MmsValue * | value | ||
) |
write a functional constrained data attribute (FCDA) or functional constrained data (FCD).
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the object/attribute to write |
fc | the functional constraint of the data attribute or data object to write |
value | the MmsValue to write (has to be of the correct type - MMS_STRUCTURE for FCD) |
LIB61850_API uint32_t IedConnection_writeObjectAsync | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
MmsValue * | value, | ||
IedConnection_GenericServiceHandler | handler, | ||
void * | parameter | ||
) |
write a functional constrained data attribute (FCDA) or functional constrained data (FCD) - async version
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the object/attribute to write |
fc | the functional constraint of the data attribute or data object to write |
value | the MmsValue to write (has to be of the correct type - MMS_STRUCTURE for FCD) |
handler | the user provided callback handler |
parameter | user provided parameter that is passed to the callback handler |
LIB61850_API void IedConnection_writeOctetString | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
uint8_t * | value, | ||
int | valueLength | ||
) |
LIB61850_API void IedConnection_writeUnsigned32Value | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
uint32_t | value | ||
) |
write a functional constrained data attribute (FCDA) of type unsigned (integer)
self | the connection object to operate on |
error | the error code if an error occurs |
object | reference of the data attribute to read |
fc | the functional constraint of the data attribute or data object to write |
value | the uint32_t value to write |
LIB61850_API void IedConnection_writeVisibleStringValue | ( | IedConnection | self, |
IedClientError * | error, | ||
const char * | objectReference, | ||
FunctionalConstraint | fc, | ||
char * | value | ||
) |