ifeq (2, $(words $(filter ipv4 ipv6, $(USEMODULE)))) $(shell $(COLOR_ECHO) "$(COLOR_YELLOW)Due to limitations in the gcoap API it is currently not \ possible to use a dual stack setup$(COLOR_RESET)" 1>&2) endif CONFIG_GCOAP_PDU_BUF_SIZE := $(or $(CONFIG_GCOAP_PDU_BUF_SIZE),128) # the initial DTLS handshake may exceed the block size DTLS_MAX_BUF ?= $(shell echo $$(((${CONFIG_GCOAP_PDU_BUF_SIZE} + 36) > 200 ? (${CONFIG_GCOAP_PDU_BUF_SIZE} + 36) : 200 ))) ifneq (,$(filter gcoap_forward_proxy,$(USEMODULE))) INCLUDES += -I$(RIOTBASE)/sys/net/application_layer/gcoap/include endif