Add Bluetooth examples
Co-authored-by: Peter Harper <77111776+peterharperuk@users.noreply.github.com>
This commit is contained in:
19
pico_w/wifi/tls_client/lwipopts.h
Normal file
19
pico_w/wifi/tls_client/lwipopts.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _LWIPOPTS_H
|
||||
#define _LWIPOPTS_H
|
||||
|
||||
#include "lwipopts_examples_common.h"
|
||||
|
||||
/* TCP WND must be at least 16 kb to match TLS record size
|
||||
or you will get a warning "altcp_tls: TCP_WND is smaller than the RX decrypion buffer, connection RX might stall!" */
|
||||
#undef TCP_WND
|
||||
#define TCP_WND 16384
|
||||
|
||||
#define LWIP_ALTCP 1
|
||||
#define LWIP_ALTCP_TLS 1
|
||||
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
||||
|
||||
#define LWIP_DEBUG 1
|
||||
#define ALTCP_MBEDTLS_DEBUG LWIP_DBG_ON
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user