@ -675,6 +675,16 @@ IedConnection_getRequestTimeout(IedConnection self)
return 0;
}
uint32_t
IedConnection_getInvokeId(IedConnection self)
{
if (self->connection) {
return MmsConnection_getInvokeId(self->connection);
else
void
IedConnection_setTimeQuality(IedConnection self, bool leapSecondKnown, bool clockFailure, bool clockNotSynchronized, int subsecondPrecision)
@ -266,6 +266,16 @@ IedConnection_setRequestTimeout(IedConnection self, uint32_t timeoutInMs);
LIB61850_API uint32_t
IedConnection_getRequestTimeout(IedConnection self);
/**
* \brief get current InvokeId
*
* \param self the connection object
* \return current InvokeId
*/
IedConnection_getInvokeId(IedConnection self);
* \brief Set the time quality for all timestamps generated by this IedConnection instance
@ -170,6 +170,16 @@ MmsConnection_setRequestTimeout(MmsConnection self, uint32_t timeoutInMs);
MmsConnection_getRequestTimeout(MmsConnection self);
* \brief Get current invokeId
* \param self MmsConnection instance to operate on
* \return current invokeId
MmsConnection_getInvokeId(MmsConnection self);
* \brief Set the connect timeout in ms for this connection instance
@ -1658,6 +1658,12 @@ MmsConnection_getRequestTimeout(MmsConnection self)
return self->requestTimeout;
MmsConnection_getInvokeId(MmsConnection self)
return self->nextInvokeId;
MmsConnection_setConnectTimeout(MmsConnection self, uint32_t timeoutInMs)