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:
@@ -196,4 +196,12 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define TRENDLOG_OBJ_FUNCTIONS \
|
||||
OBJECT_TRENDLOG, Trend_Log_Init, Trend_Log_Count, \
|
||||
Trend_Log_Index_To_Instance, Trend_Log_Valid_Instance, \
|
||||
Trend_Log_Name, Trend_Log_Read_Property, \
|
||||
Trend_Log_Write_Property, Trend_Log_Property_Lists, \
|
||||
TrendLogGetRRInfo, NULL
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user