net: coap: Add a Kconfig option to enable/disable link format filters
This requires strstr() from minimal libc, thus requesting such extension to be built relevantly. Jira: ZEP-598 Change-Id: I943d8046b6165fbcebec9cbabd7b874b19160d48 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
3dca0fdd56
commit
37405583d9
2 changed files with 8 additions and 1 deletions
|
@ -515,6 +515,13 @@ config ER_COAP_WITH_DTLS
|
|||
are not able to send or receive non-DTLS CoAP messages, and
|
||||
vice versa.
|
||||
|
||||
config ER_COAP_LINK_FORMAT_FILTERING
|
||||
bool "Enable link format filtering"
|
||||
select MINIMAL_LIBC_EXTENDED
|
||||
default n
|
||||
help
|
||||
Make CoAP engine support link format filters.
|
||||
|
||||
config COAP_STATS
|
||||
bool
|
||||
prompt "Enable CoAP statistics"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#define ER_COAP_CONF_H_
|
||||
|
||||
/* Features that can be disabled to achieve smaller memory footprint */
|
||||
#define COAP_LINK_FORMAT_FILTERING 0
|
||||
#define COAP_LINK_FORMAT_FILTERING CONFIG_ER_COAP_LINK_FORMAT_FILTERING
|
||||
#define COAP_PROXY_OPTION_PROCESSING 0
|
||||
|
||||
/* Listening port for the CoAP REST Engine */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue