Add facility to adjust the services and and other features supported via config.h. This is to reduce code size in embedded builds where the compiler does not do a great job in removing functions that are never called. This is particularly useful for simple server only applications where decoding of response packets and encoding of requests are not required for example.
Also added possibility for RMP of encoding large items in-line in the response packet so that the object RP handlers know how much space they really have without the need for a full APDU buffer being maintained.
This commit is contained in:
@@ -113,6 +113,7 @@ int decode_unsigned32(
|
||||
return 4;
|
||||
}
|
||||
|
||||
#if BACNET_USE_SIGNED
|
||||
int encode_signed8(
|
||||
uint8_t * apdu,
|
||||
int8_t value)
|
||||
@@ -219,7 +220,7 @@ int decode_signed32(
|
||||
|
||||
return 4;
|
||||
}
|
||||
|
||||
#endif
|
||||
/* end of decoding_encoding.c */
|
||||
#ifdef TEST
|
||||
#include <assert.h>
|
||||
|
||||
Reference in New Issue
Block a user