xref: /btstack/port/windows-winusb/btstack_config.h (revision b435e06234e531c17261f382423cd8c2f23dc22d)
1eddcc851SMatthias Ringwald //
2eddcc851SMatthias Ringwald // btstack_config.h for libusb port
3eddcc851SMatthias Ringwald //
4eddcc851SMatthias Ringwald 
5eddcc851SMatthias Ringwald #ifndef __BTSTACK_CONFIG
6eddcc851SMatthias Ringwald #define __BTSTACK_CONFIG
7eddcc851SMatthias Ringwald 
8eddcc851SMatthias Ringwald // Port related features
9eddcc851SMatthias Ringwald #define HAVE_MALLOC
10eddcc851SMatthias Ringwald #define HAVE_POSIX_FILE_IO
117ea7688aSMatthias Ringwald #define HAVE_BTSTACK_STDIN
12eddcc851SMatthias Ringwald #define HAVE_POSIX_TIME
13eddcc851SMatthias Ringwald 
14eddcc851SMatthias Ringwald // BTstack features that can be enabled
15eddcc851SMatthias Ringwald #define ENABLE_BLE
16eddcc851SMatthias Ringwald #define ENABLE_CLASSIC
171bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
1873d0f5e5SMatthias Ringwald #define ENABLE_LE_CENTRAL
191bbecc2bSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
20eddcc851SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
21*b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
22eddcc851SMatthias Ringwald #define ENABLE_LOG_ERROR
23eddcc851SMatthias Ringwald #define ENABLE_LOG_INFO
24eddcc851SMatthias Ringwald #define ENABLE_SCO_OVER_HCI
25eddcc851SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
26eddcc851SMatthias Ringwald 
27eddcc851SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
28eddcc851SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
29eddcc851SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
30eddcc851SMatthias Ringwald 
31eddcc851SMatthias Ringwald #endif
32