Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
Added two device object table functions for COV support. Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
This commit is contained in:
@@ -183,7 +183,7 @@ bool Binary_Input_Out_Of_Service(
|
||||
return value;
|
||||
}
|
||||
|
||||
static bool Binary_Input_Change_Of_Value(
|
||||
bool Binary_Input_Change_Of_Value(
|
||||
uint32_t object_instance)
|
||||
{
|
||||
bool status = false;
|
||||
@@ -197,7 +197,7 @@ static bool Binary_Input_Change_Of_Value(
|
||||
return status;
|
||||
}
|
||||
|
||||
static void Binary_Input_Change_Of_Value_Clear(
|
||||
void Binary_Input_Change_Of_Value_Clear(
|
||||
uint32_t object_instance)
|
||||
{
|
||||
unsigned index;
|
||||
@@ -249,7 +249,6 @@ bool Binary_Input_Encode_Value_List(
|
||||
value_list->priority = BACNET_NO_PRIORITY;
|
||||
}
|
||||
status = Binary_Input_Change_Of_Value(object_instance);
|
||||
Binary_Input_Change_Of_Value_Clear(object_instance);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user