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:
@@ -94,4 +94,10 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define FILE_OBJ_FUNCTIONS \
|
||||
OBJECT_FILE, bacfile_init, bacfile_count, bacfile_index_to_instance, \
|
||||
bacfile_valid_instance, bacfile_name, bacfile_read_property, \
|
||||
bacfile_write_property, BACfile_Property_Lists, NULL
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user