|
|
@ -646,6 +646,9 @@ updateReportDataset(MmsMapping* mapping, ReportControl* rc, MmsValue* newDatSet,
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* (MMS_DYNAMIC_DATA_SETS == 1) */
|
|
|
|
#endif /* (MMS_DYNAMIC_DATA_SETS == 1) */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ((dataSet == NULL) || (dataSetChanged == true)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* delete pending event and create buffer for new data set */
|
|
|
|
deleteDataSetValuesShadowBuffer(rc);
|
|
|
|
deleteDataSetValuesShadowBuffer(rc);
|
|
|
|
|
|
|
|
|
|
|
|
rc->dataSet = dataSet;
|
|
|
|
rc->dataSet = dataSet;
|
|
|
@ -664,6 +667,8 @@ updateReportDataset(MmsMapping* mapping, ReportControl* rc, MmsValue* newDatSet,
|
|
|
|
|
|
|
|
|
|
|
|
rc->inclusionFlags = (uint8_t*) GLOBAL_CALLOC(dataSet->elementCount, sizeof(uint8_t));
|
|
|
|
rc->inclusionFlags = (uint8_t*) GLOBAL_CALLOC(dataSet->elementCount, sizeof(uint8_t));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
success = true;
|
|
|
|
success = true;
|
|
|
|
|
|
|
|
|
|
|
|
if (rc->buffered)
|
|
|
|
if (rc->buffered)
|
|
|
|