xref: /btstack/port/libusb/btstack_config.h (revision b435e06234e531c17261f382423cd8c2f23dc22d)
10d529a9fSMatthias Ringwald //
20d529a9fSMatthias Ringwald // btstack_config.h for libusb port
30d529a9fSMatthias Ringwald //
47907f069SMatthias Ringwald 
57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67907f069SMatthias Ringwald #define __BTSTACK_CONFIG
77907f069SMatthias Ringwald 
80d529a9fSMatthias Ringwald // Port related features
97907f069SMatthias Ringwald #define HAVE_MALLOC
1009bb5270SMatthias Ringwald #define HAVE_POSIX_FILE_IO
117ea7688aSMatthias Ringwald #define HAVE_BTSTACK_STDIN
12d0755cd6SMatthias Ringwald #define HAVE_POSIX_TIME
130d529a9fSMatthias Ringwald 
140d529a9fSMatthias Ringwald // BTstack features that can be enabled
150d529a9fSMatthias Ringwald #define ENABLE_BLE
1680b9a8caSMatthias Ringwald #define ENABLE_CLASSIC
171bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
181a682202SMatthias Ringwald #define ENABLE_LE_CENTRAL
191bbecc2bSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
20faccbb29SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
21*b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
220d529a9fSMatthias Ringwald #define ENABLE_LOG_ERROR
230d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
2471c4de7aSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
250d529a9fSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
260d529a9fSMatthias Ringwald 
270d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
287907f069SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
297907f069SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
307907f069SMatthias Ringwald 
317907f069SMatthias Ringwald #endif
32