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:
@@ -50,6 +50,9 @@ The git repositories are hosted at the following sites:
|
|||||||
|
|
||||||
### Fixed
|
### 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 library specific strcmp/stricmp functions match standard strcmp. (#1173)
|
||||||
* Fixed compiler macro redefined warning when optional datatypes are defined
|
* Fixed compiler macro redefined warning when optional datatypes are defined
|
||||||
globally. (#1172)
|
globally. (#1172)
|
||||||
|
|||||||
@@ -2517,8 +2517,12 @@ void Device_Init(object_functions_t *object_table)
|
|||||||
pObject++;
|
pObject++;
|
||||||
}
|
}
|
||||||
#if (BACNET_PROTOCOL_REVISION >= 14)
|
#if (BACNET_PROTOCOL_REVISION >= 14)
|
||||||
|
/* link WriteProperty to Channel object for members */
|
||||||
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
||||||
#endif
|
#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(
|
bool DeviceGetRRInfo(
|
||||||
|
|||||||
@@ -2922,6 +2922,11 @@ void Device_Init(object_functions_t *object_table)
|
|||||||
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
||||||
#endif
|
#endif
|
||||||
#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(
|
bool DeviceGetRRInfo(
|
||||||
|
|||||||
Reference in New Issue
Block a user