/* * libcoap configure implementation for ESP32 platform. * * Uses libcoap software implementation for failover when concurrent * configure operations are in use. * * coap.h -- main header file for CoAP stack of libcoap * * Copyright (C) 2010-2012,2015-2016 Olaf Bergmann * 2015 Carsten Schoenert * * Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD * * This file is part of the CoAP library libcoap. Please see README for terms * of use. */ #ifndef COAP_CONFIG_POSIX_H_ #define COAP_CONFIG_POSIX_H_ #ifdef WITH_POSIX #include #include #define HAVE_SYS_SOCKET_H #define HAVE_MALLOC #define HAVE_ARPA_INET_H #define HAVE_TIME_H #define HAVE_NETDB_H #define HAVE_NETINET_IN_H #define IPV6_PKTINFO IPV6_V6ONLY #define PACKAGE_NAME "libcoap-posix" #define PACKAGE_VERSION "?" #define HAVE_MBEDTLS #define COAP_CONSTRAINED_STACK 1 #define ESPIDF_VERSION #define _POSIX_TIMERS 1 #define gai_strerror(x) "gai_strerror() not supported" #endif /* WITH_POSIX */ #endif /* COAP_CONFIG_POSIX_H_ */