Fixed COV examples to Notify upon subscribe.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user