Increased the size of the MAC address in the BACnet address to handle IPv6 addresses per the BTL Implementors Guide.
This commit is contained in:
@@ -61,7 +61,8 @@ typedef struct BACnet_Object_Data
|
||||
} BACNET_OBJECT_DATA;
|
||||
|
||||
#define BACNET_BROADCAST_NETWORK 0xFFFF
|
||||
#define MAX_MAC_LEN 8
|
||||
// IPv6 (16 octets) coupled with port number (2 octets)
|
||||
#define MAX_MAC_LEN 18
|
||||
struct BACnet_Device_Address {
|
||||
// mac_len = 0 if global address
|
||||
int mac_len;
|
||||
|
||||
Reference in New Issue
Block a user