|
ClientReportControlBlock | IedConnection_getRCBValues (IedConnection self, IedClientError *error, const char *rcbReference, ClientReportControlBlock updateRcb) |
| Read access to attributes of a report control block (RCB) at the connected server. More...
|
|
void | IedConnection_setRCBValues (IedConnection self, IedClientError *error, ClientReportControlBlock rcb, uint32_t parametersMask, bool singleRequest) |
| Write access to attributes of a report control block (RCB) at the connected server. More...
|
|
void | IedConnection_installReportHandler (IedConnection self, const char *rcbReference, const char *rptId, ReportCallbackFunction handler, void *handlerParameter) |
| Install a report handler function for the specified report control block (RCB) More...
|
|
void | IedConnection_uninstallReportHandler (IedConnection self, const char *rcbReference) |
| uninstall a report handler function for the specified report control block (RCB) More...
|
|
void | IedConnection_triggerGIReport (IedConnection self, IedClientError *error, const char *rcbReference) |
| Trigger a general interrogation (GI) report for the specified report control block (RCB) More...
|
|
const char * | ClientReport_getDataSetName (ClientReport self) |
| Get the name of the report data set. More...
|
|
MmsValue * | ClientReport_getDataSetValues (ClientReport self) |
| return the received data set values of the report More...
|
|
char * | ClientReport_getRcbReference (ClientReport self) |
| return reference (name) of the server RCB associated with this ClientReport object More...
|
|
char * | ClientReport_getRptId (ClientReport self) |
| return RptId of the server RCB associated with this ClientReport object More...
|
|
ReasonForInclusion | ClientReport_getReasonForInclusion (ClientReport self, int elementIndex) |
| get the reason code (reason for inclusion) for a specific report data set element More...
|
|
MmsValue * | ClientReport_getEntryId (ClientReport self) |
| get the entry ID of the report More...
|
|
bool | ClientReport_hasTimestamp (ClientReport self) |
| determine if the last received report contains a timestamp More...
|
|
bool | ClientReport_hasSeqNum (ClientReport self) |
|
uint16_t | ClientReport_getSeqNum (ClientReport self) |
|
bool | ClientReport_hasDataSetName (ClientReport self) |
|
bool | ClientReport_hasReasonForInclusion (ClientReport self) |
|
bool | ClientReport_hasConfRev (ClientReport self) |
|
uint32_t | ClientReport_getConfRev (ClientReport self) |
|
bool | ClientReport_hasBufOvfl (ClientReport self) |
| Indicates if the report contains the bufOvfl (buffer overflow) flag. More...
|
|
bool | ClientReport_getBufOvfl (ClientReport self) |
| Get the value of the bufOvfl flag. More...
|
|
bool | ClientReport_hasDataReference (ClientReport self) |
| Indicates if the report contains data references for the reported data set members. More...
|
|
const char * | ClientReport_getDataReference (ClientReport self, int elementIndex) |
| get the data-reference of the element of the report data set More...
|
|
uint64_t | ClientReport_getTimestamp (ClientReport self) |
| get the timestamp of the report More...
|
|
char * | ReasonForInclusion_getValueAsString (ReasonForInclusion reasonCode) |
| get the reason for inclusion of as a human readable string More...
|
|
ClientReportControlBlock | ClientReportControlBlock_create (const char *rcbReference) |
|
void | ClientReportControlBlock_destroy (ClientReportControlBlock self) |
|
char * | ClientReportControlBlock_getObjectReference (ClientReportControlBlock self) |
|
bool | ClientReportControlBlock_isBuffered (ClientReportControlBlock self) |
|
const char * | ClientReportControlBlock_getRptId (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setRptId (ClientReportControlBlock self, const char *rptId) |
|
bool | ClientReportControlBlock_getRptEna (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setRptEna (ClientReportControlBlock self, bool rptEna) |
|
bool | ClientReportControlBlock_getResv (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setResv (ClientReportControlBlock self, bool resv) |
|
const char * | ClientReportControlBlock_getDataSetReference (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setDataSetReference (ClientReportControlBlock self, const char *dataSetReference) |
| set the data set to be observed by the RCB More...
|
|
uint32_t | ClientReportControlBlock_getConfRev (ClientReportControlBlock self) |
|
int | ClientReportControlBlock_getOptFlds (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setOptFlds (ClientReportControlBlock self, int optFlds) |
|
uint32_t | ClientReportControlBlock_getBufTm (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setBufTm (ClientReportControlBlock self, uint32_t bufTm) |
|
uint16_t | ClientReportControlBlock_getSqNum (ClientReportControlBlock self) |
|
int | ClientReportControlBlock_getTrgOps (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setTrgOps (ClientReportControlBlock self, int trgOps) |
|
uint32_t | ClientReportControlBlock_getIntgPd (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setIntgPd (ClientReportControlBlock self, uint32_t intgPd) |
|
bool | ClientReportControlBlock_getGI (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setGI (ClientReportControlBlock self, bool gi) |
|
bool | ClientReportControlBlock_getPurgeBuf (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setPurgeBuf (ClientReportControlBlock self, bool purgeBuf) |
|
int16_t | ClientReportControlBlock_getResvTms (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setResvTms (ClientReportControlBlock self, int16_t resvTms) |
|
MmsValue * | ClientReportControlBlock_getEntryId (ClientReportControlBlock self) |
|
void | ClientReportControlBlock_setEntryId (ClientReportControlBlock self, MmsValue *entryId) |
|
uint64_t | ClientReportControlBlock_getEntryTime (ClientReportControlBlock self) |
|
MmsValue * | ClientReportControlBlock_getOwner (ClientReportControlBlock self) |
|
set the data set to be observed by the RCB
The data set reference is a mixture of MMS and IEC 61850 syntax! In general the reference has the form: LDName/LNName$DataSetName
e.g. "simpleIOGenericIO/LLN0$Events"
It is standard that data sets are defined in LN0 logical nodes. But this is not mandatory.
Note: As a result of changing the data set the server will increase the confRev attribute of the RCB.
- Parameters
-
self | the RCB instance |
dataSetReference | the reference of the data set |
Read access to attributes of a report control block (RCB) at the connected server.
The requested RCB has to be specified by its object reference. E.g.
"simpleIOGenericIO/LLN0.RP.EventsRCB01"
or
"simpleIOGenericIO/LLN0.BR.EventsBRCB01"
Report control blocks have either "RP" or "BR" as part of their name following the logical node part. "RP" is part of the name of unbuffered RCBs whilst "BR" is part of the name of buffered RCBs.
This function is used to perform the actual read service. To access the received values the functions of ClientReportControlBlock have to be used.
If called with a NULL argument for the updateRcb parameter a new ClientReportControlBlock instance is created and populated with the values received by the server. It is up to the user to release this object by calling the ClientReportControlBlock_destroy function when the object is no longer needed. If called with a reference to an existing ClientReportControlBlock instance the values of the attributes will be updated and no new instance will be created.
Note: This function maps to a single MMS read request to retrieve the complete RCB at once.
- Parameters
-
connection | the connection object |
error | the error code if an error occurs |
rcbReference | object reference of the report control block |
updateRcb | a reference to an existing ClientReportControlBlock instance or NULL |
- Returns
- new ClientReportControlBlock instance or the instance provided by the user with the updateRcb parameter.
Write access to attributes of a report control block (RCB) at the connected server.
The requested RCB has to be specified by its object reference (see also IedConnection_getRCBValues). The object reference for the referenced RCB is contained in the provided ClientReportControlBlock instance.
The parametersMask parameter specifies which attributes of the remote RCB have to be set by this request. You can specify multiple attributes by ORing the defined bit values.
The singleRequest parameter specifies the mapping to the corresponding MMS write request. Standard compliant servers should accept both variants. But some server accept only one variant. Then the value of this parameter will be of relevance.
- Parameters
-
connection | the connection object |
error | the error code if an error occurs |
rcb | object reference of the ClientReportControlBlock instance that actually holds the parameter values to be written. |
parametersMask | specifies the parameters contained in the setRCBValues request. |
singleRequest | specifies if the setRCBValues services is mapped to a single MMS write request containing multiple variables or to multiple MMS write requests. |