Fixed COV examples to Notify upon subscribe.

This commit is contained in:
skarg
2017-01-11 23:51:02 +00:00
parent 5e5c2d616a
commit d48ac6bc26
2 changed files with 21 additions and 7 deletions
+9 -2
View File
@@ -280,7 +280,14 @@ void Analog_Input_Change_Of_Value_Clear(
}
}
/* returns true if value has changed */
/**
* For a given object instance-number, loads the value_list with the COV data.
*
* @param object_instance - object-instance number of the object
* @param value_list - list of COV data
*
* @return true if the value list is encoded
*/
bool Analog_Input_Encode_Value_List(
uint32_t object_instance,
BACNET_PROPERTY_VALUE * value_list)
@@ -320,8 +327,8 @@ bool Analog_Input_Encode_Value_List(
value_list->value.next = NULL;
value_list->priority = BACNET_NO_PRIORITY;
value_list->next = NULL;
status = true;
}
status = Analog_Input_Change_Of_Value(object_instance);
return status;
}