libiec61850  1.6.0
Typedefs | Functions
Log service related functions, data types, and definitions

Typedefs

typedef void(* IedConnection_QueryLogHandler) (uint32_t invokeId, void *parameter, IedClientError mmsError, LinkedList journalEntries, bool moreFollows)
 

Functions

LIB61850_API LinkedList IedConnection_queryLogByTime (IedConnection self, IedClientError *error, const char *logReference, uint64_t startTime, uint64_t endTime, bool *moreFollows)
 Implementation of the QueryLogByTime ACSI service. More...
 
LIB61850_API LinkedList IedConnection_queryLogAfter (IedConnection self, IedClientError *error, const char *logReference, MmsValue *entryID, uint64_t timeStamp, bool *moreFollows)
 Implementation of the QueryLogAfter ACSI service. More...
 
LIB61850_API uint32_t IedConnection_queryLogByTimeAsync (IedConnection self, IedClientError *error, const char *logReference, uint64_t startTime, uint64_t endTime, IedConnection_QueryLogHandler handler, void *parameter)
 
LIB61850_API uint32_t IedConnection_queryLogAfterAsync (IedConnection self, IedClientError *error, const char *logReference, MmsValue *entryID, uint64_t timeStamp, IedConnection_QueryLogHandler handler, void *parameter)
 

Detailed Description

Typedef Documentation

◆ IedConnection_QueryLogHandler

typedef void(* IedConnection_QueryLogHandler) (uint32_t invokeId, void *parameter, IedClientError mmsError, LinkedList journalEntries, bool moreFollows)

Function Documentation

◆ IedConnection_queryLogAfter()

LIB61850_API LinkedList IedConnection_queryLogAfter ( IedConnection  self,
IedClientError error,
const char *  logReference,
MmsValue entryID,
uint64_t  timeStamp,
bool *  moreFollows 
)

Implementation of the QueryLogAfter ACSI service.

Read log entries from a log at the server following the entry with the specified entryID and timestamp. If the complete range does not fit in a single MMS message the moreFollows flag will be set to true, to indicate that more entries are available for the specified time range.

Parameters
selfthe connection object
errorthe error code if an error occurs
logReferencelog object reference in the form <LD name>/<LN name>$<log name>
entryIDusually the entryID of the last received entry
timeStampas millisecond UTC timestamp
moreFollows(output value) indicates that more entries are available that match the specification.
Returns
list of MmsJournalEntry objects matching the specification

◆ IedConnection_queryLogAfterAsync()

LIB61850_API uint32_t IedConnection_queryLogAfterAsync ( IedConnection  self,
IedClientError error,
const char *  logReference,
MmsValue entryID,
uint64_t  timeStamp,
IedConnection_QueryLogHandler  handler,
void *  parameter 
)

◆ IedConnection_queryLogByTime()

LIB61850_API LinkedList IedConnection_queryLogByTime ( IedConnection  self,
IedClientError error,
const char *  logReference,
uint64_t  startTime,
uint64_t  endTime,
bool *  moreFollows 
)

Implementation of the QueryLogByTime ACSI service.

Read log entries from a log at the server. The log entries to read are specified by a starting time and an end time. If the complete range does not fit in a single MMS message the moreFollows flag will be set to true, to indicate that more entries are available for the specified time range.

Parameters
selfthe connection object
errorthe error code if an error occurs
logReferencelog object reference in the form <LD name>/<LN name>$<log name>
startTimeas millisecond UTC timestamp
endTimeas millisecond UTC timestamp
moreFollows(output value) indicates that more entries are available that match the specification.
Returns
list of MmsJournalEntry objects matching the specification

◆ IedConnection_queryLogByTimeAsync()

LIB61850_API uint32_t IedConnection_queryLogByTimeAsync ( IedConnection  self,
IedClientError error,
const char *  logReference,
uint64_t  startTime,
uint64_t  endTime,
IedConnection_QueryLogHandler  handler,
void *  parameter 
)