Integrated the Loop object read/write references and manipulated variables with device read/write property in basic example device object. (#1175)

This commit is contained in:
Steve Karg
2025-12-03 16:23:01 -06:00
committed by GitHub
parent 63e984edbb
commit 11efd6902c
3 changed files with 12 additions and 0 deletions
+3
View File
@@ -50,6 +50,9 @@ The git repositories are hosted at the following sites:
### Fixed
* Fixed the Loop object read/write references and manipulated variables
update during timer loop by adding callbacks to device read/write property
in basic example device object. (##1175)
* Fixed library specific strcmp/stricmp functions match standard strcmp. (#1173)
* Fixed compiler macro redefined warning when optional datatypes are defined
globally. (#1172)
+4
View File
@@ -2517,8 +2517,12 @@ void Device_Init(object_functions_t *object_table)
pObject++;
}
#if (BACNET_PROTOCOL_REVISION >= 14)
/* link WriteProperty to Channel object for members */
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
#endif
/* link ReadProperty and WriteProperty to Loop object for references */
Loop_Read_Property_Internal_Callback_Set(Device_Read_Property);
Loop_Write_Property_Internal_Callback_Set(Device_Write_Property);
}
bool DeviceGetRRInfo(
+5
View File
@@ -2922,6 +2922,11 @@ void Device_Init(object_functions_t *object_table)
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
#endif
#endif
#ifdef CONFIG_BACNET_BASIC_OBJECT_LOOP
/* link ReadProperty and WriteProperty to Loop object for references */
Loop_Read_Property_Internal_Callback_Set(Device_Read_Property);
Loop_Write_Property_Internal_Callback_Set(Device_Write_Property);
#endif
}
bool DeviceGetRRInfo(