From 8bb5ccd804035d95a6ab4b7ff2d521b029531357 Mon Sep 17 00:00:00 2001 From: skarg Date: Tue, 20 Oct 2009 17:23:48 +0000 Subject: [PATCH] Corrected BACnet/IP MAX APDU to have only a max of 1497 bytes. --- bacnet-stack/include/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/include/config.h b/bacnet-stack/include/config.h index a5a509c0..c718b0cb 100644 --- a/bacnet-stack/include/config.h +++ b/bacnet-stack/include/config.h @@ -64,12 +64,12 @@ /* Typical sizes are 50, 128, 206, 480, 1024, and 1476 octets */ /* This is used in constructing messages and to tell others our limits */ /* 50 is the minimum; adjust to your memory and physical layer constraints */ -/* Lon=206, MS/TP=480, ARCNET=480, Ethernet=1476, BACnet/IP=64K */ +/* Lon=206, MS/TP=480, ARCNET=480, Ethernet=1476, BACnet/IP=1476 */ #if !defined(MAX_APDU) /* #define MAX_APDU 50 */ /* #define MAX_APDU 1476 */ #if defined(BACDL_BIP) -#define MAX_APDU 16383 +#define MAX_APDU 1476 #elif defined (BACDL_ETHERNET) #define MAX_APDU 1476 #else