xref: /btstack/port/windows-winusb/btstack_config.h (revision b2b52d42121140bd6be66e10082f8d3a2ad5d13c)
1eddcc851SMatthias Ringwald //
2077fecbbSMilanka Ringwald // btstack_config.h for Windows-winusb port
3077fecbbSMilanka Ringwald //
4077fecbbSMilanka Ringwald // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
5eddcc851SMatthias Ringwald //
6eddcc851SMatthias Ringwald 
736327e5aSMilanka Ringwald #ifndef BTSTACK_CONFIG_H
836327e5aSMilanka Ringwald #define BTSTACK_CONFIG_H
9eddcc851SMatthias Ringwald 
10eddcc851SMatthias Ringwald // Port related features
11d20e3046SMatthias Ringwald #define HAVE_ASSERT
1236327e5aSMilanka Ringwald #define HAVE_BTSTACK_STDIN
13eddcc851SMatthias Ringwald #define HAVE_MALLOC
14eddcc851SMatthias Ringwald #define HAVE_POSIX_FILE_IO
15eddcc851SMatthias Ringwald #define HAVE_POSIX_TIME
16eddcc851SMatthias Ringwald 
17eddcc851SMatthias Ringwald // BTstack features that can be enabled
18*b2b52d42SMatthias Ringwald #define ENABLE_AVRCP_COVER_ART
19eddcc851SMatthias Ringwald #define ENABLE_BLE
20eddcc851SMatthias Ringwald #define ENABLE_CLASSIC
2136327e5aSMilanka Ringwald #define ENABLE_CROSS_TRANSPORT_KEY_DERIVATION
221bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
23b5674ee2SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
24b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
25*b2b52d42SMatthias Ringwald #define ENABLE_LE_CENTRAL
26b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
2736327e5aSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
28b596325dSMatthias Ringwald #define ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION
2936327e5aSMilanka Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
30eddcc851SMatthias Ringwald #define ENABLE_LOG_ERROR
31eddcc851SMatthias Ringwald #define ENABLE_LOG_INFO
3236327e5aSMilanka Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
33606ccc9bSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
34eddcc851SMatthias Ringwald #define ENABLE_SCO_OVER_HCI
35eddcc851SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
367cdc89a5SMatthias Ringwald #define ENABLE_SOFTWARE_AES128
37eddcc851SMatthias Ringwald 
38eddcc851SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
39eddcc851SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
40eddcc851SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
41eddcc851SMatthias Ringwald 
42dbe92de6SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES      16
4336327e5aSMilanka Ringwald #define NVM_NUM_LINK_KEYS              16
44e514a7f5SMatthias Ringwald 
45e514a7f5SMatthias Ringwald // Mesh Configuration
46e514a7f5SMatthias Ringwald #define ENABLE_MESH
47e514a7f5SMatthias Ringwald #define ENABLE_MESH_ADV_BEARER
48e514a7f5SMatthias Ringwald #define ENABLE_MESH_GATT_BEARER
49e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_ADV
50e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_GATT
51e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROVISIONER
5236327e5aSMilanka Ringwald #define ENABLE_MESH_PROXY_SERVER
53e514a7f5SMatthias Ringwald 
5436327e5aSMilanka Ringwald #define MAX_NR_MESH_SUBNETS            2
55e514a7f5SMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS    16
56e514a7f5SMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16
57e514a7f5SMatthias Ringwald 
58e514a7f5SMatthias Ringwald // allow for one NetKey update
59e514a7f5SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
60e514a7f5SMatthias Ringwald 
61eddcc851SMatthias Ringwald #endif
62