added common object data

This commit is contained in:
skarg
2005-03-18 22:11:00 +00:00
parent 1d6a3b6dad
commit 10b712e48a
+10
View File
@@ -45,6 +45,16 @@
// Array index 0=size of array, n=array element n, MAX=all array elements
#define BACNET_ARRAY_ALL (~0)
// embedded systems need fixed name sizes
#define MAX_OBJECT_NAME 10
// device object properties
typedef struct BACnet_Object_Data
{
uint32_t Object_Identifier
char Object_Name[MAX_OBJECT_NAME];
BACNET_OBJECT_TYPE Object_Type;
} BACNET_OBJECT_DATA;
#define MAX_MAC_LEN 8
struct BACnet_Device_Address {
// mac_len = 0 if global address