Open black0592 opened 3 years ago
There are some data attributes that have "dupd" (update) trigger conditions. These can cause a report when updated. But most attributes only have "dchg" (change) trigger conditions. It is up to your application if you update the attributes with "dchg" only when the value changes or whenever you do the update.
Shouldn't the checkForUpdateTrigger function be called only when the values are different? How to understand this? Why do I need to call update for the same value
void IedServer_updateAttributeValue(IedServer self, DataAttribute dataAttribute, MmsValue value) { assert(self != NULL); assert(dataAttribute != NULL); assert(MmsValue_getType(dataAttribute->mmsValue) == MmsValue_getType(value));
if (CONFIG_MMS_THREADLESS_STACK != 1)
endif
if (CONFIG_MMS_THREADLESS_STACK != 1)
endif
}