xref: /btstack/port/libusb-intel/btstack_config.h (revision e514a7f533c205a9d9a793ff09d181fcea9ebd1a)
17eac9e22SMatthias Ringwald //
27eac9e22SMatthias Ringwald // btstack_config.h for libusb port
37eac9e22SMatthias Ringwald //
47eac9e22SMatthias Ringwald 
57eac9e22SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67eac9e22SMatthias Ringwald #define __BTSTACK_CONFIG
77eac9e22SMatthias Ringwald 
87eac9e22SMatthias Ringwald // Port related features
97eac9e22SMatthias Ringwald #define HAVE_MALLOC
107eac9e22SMatthias Ringwald #define HAVE_POSIX_FILE_IO
117eac9e22SMatthias Ringwald #define HAVE_BTSTACK_STDIN
127eac9e22SMatthias Ringwald #define HAVE_POSIX_TIME
137eac9e22SMatthias Ringwald 
147eac9e22SMatthias Ringwald // BTstack features that can be enabled
157eac9e22SMatthias Ringwald #define ENABLE_BLE
167eac9e22SMatthias Ringwald #define ENABLE_CLASSIC
177eac9e22SMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
187eac9e22SMatthias Ringwald #define ENABLE_LE_CENTRAL
197eac9e22SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
207eac9e22SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
217eac9e22SMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
227eac9e22SMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
237eac9e22SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
247eac9e22SMatthias Ringwald #define ENABLE_ATT_DELAYED_RESPONSE
257eac9e22SMatthias Ringwald #define ENABLE_LOG_ERROR
267eac9e22SMatthias Ringwald #define ENABLE_LOG_INFO
277eac9e22SMatthias Ringwald #define ENABLE_SCO_OVER_HCI
287eac9e22SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
297eac9e22SMatthias Ringwald 
307eac9e22SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
317eac9e22SMatthias Ringwald 
327eac9e22SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
337eac9e22SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
347eac9e22SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
357eac9e22SMatthias Ringwald 
36*e514a7f5SMatthias Ringwald // Mesh Configuration
37*e514a7f5SMatthias Ringwald #define ENABLE_MESH
38*e514a7f5SMatthias Ringwald #define ENABLE_MESH_ADV_BEARER
39*e514a7f5SMatthias Ringwald #define ENABLE_MESH_GATT_BEARER
40*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_ADV
41*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_GATT
42*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROXY_SERVER
43*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROVISIONER
44*e514a7f5SMatthias Ringwald 
45*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS    16
46*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16
47*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_SUBNETS            2
48*e514a7f5SMatthias Ringwald 
49*e514a7f5SMatthias Ringwald // allow for one NetKey update
50*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
51*e514a7f5SMatthias Ringwald 
527eac9e22SMatthias Ringwald #endif
53