Reduced MS/TP MAX_APDU to use 480 by default in examples (#683)
* Reduced MS/TP MAX_APDU to 480 from 1476 so that devices not use new MS/TP extended frame types which older routers do not understand. * Added extra objects to STM32F4xx example to elicit edge cases in object-list for testing.
This commit is contained in:
@@ -153,7 +153,8 @@ OPTIMIZE_FLAGS += -DNDEBUG
|
||||
|
||||
BACNET_FLAGS = -DBACDL_MSTP=1
|
||||
BACNET_FLAGS += -DBACAPP_MINIMAL
|
||||
BACNET_FLAGS += -DMAX_APDU=1476
|
||||
# note: MS/TP extended frames can be up to MAX_APDU=1476 bytes
|
||||
BACNET_FLAGS += -DMAX_APDU=480
|
||||
BACNET_FLAGS += -DBIG_ENDIAN=0
|
||||
BACNET_FLAGS += -DMAX_TSM_TRANSACTIONS=0
|
||||
BACNET_FLAGS += -DMAX_CHARACTER_STRING_BYTES=64
|
||||
|
||||
Reference in New Issue
Block a user