1. In device.c, the Object_Table[] is now extern; it has to be defined by the user application (see demos); only the required BACnet objects have to be included.
2. Objects' .h files define macro to be used to initialize Object_Table[].
This commit is contained in:
@@ -68,4 +68,13 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define LIFE_SAFETY_POINT_OBJ_FUNCTIONS \
|
||||
OBJECT_LIFE_SAFETY_POINT, Life_Safety_Point_Init, \
|
||||
Life_Safety_Point_Count, Life_Safety_Point_Index_To_Instance, \
|
||||
Life_Safety_Point_Valid_Instance, Life_Safety_Point_Name, \
|
||||
Life_Safety_Point_Read_Property, \
|
||||
Life_Safety_Point_Write_Property, \
|
||||
Life_Safety_Point_Property_Lists, NULL, NULL
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user