|
|
|
@ -954,6 +954,11 @@ refreshIntegrityPeriod(ReportControl* rc)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
if (rc->buffered == false) {
|
|
|
|
|
|
|
|
|
|
if (rc->triggerOps & TRG_OPT_INTEGRITY) {
|
|
|
|
|
|
|
|
|
|
if (rc->intgPd > 0) {
|
|
|
|
|
|
|
|
|
|
if (rc->server->syncIntegrityReportTimes) {
|
|
|
|
|
rc->nextIntgReportTime = getNextRoundedStartTime(Hal_getTimeInMs(), rc->intgPd);
|
|
|
|
|
}
|
|
|
|
@ -962,6 +967,8 @@ refreshIntegrityPeriod(ReportControl* rc)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
refreshBufferTime(ReportControl* rc)
|
|
|
|
@ -2145,12 +2152,18 @@ Reporting_RCBWriteAccessHandler(MmsMapping* self, ReportControl* rc, char* eleme
|
|
|
|
|
|
|
|
|
|
if (rc->buffered) {
|
|
|
|
|
|
|
|
|
|
if (rc->triggerOps & TRG_OPT_INTEGRITY) {
|
|
|
|
|
|
|
|
|
|
if (rc->intgPd > 0) {
|
|
|
|
|
|
|
|
|
|
if (rc->server->syncIntegrityReportTimes) {
|
|
|
|
|
rc->nextIntgReportTime = getNextRoundedStartTime(Hal_getTimeInMs(), rc->intgPd);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
rc->nextIntgReportTime = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
purgeBuf(rc);
|
|
|
|
|
|
|
|
|
|