xref: /btstack/port/posix-h4-zephyr/btstack_config.h (revision e514a7f533c205a9d9a793ff09d181fcea9ebd1a)
16807484cSMatthias Ringwald //
26807484cSMatthias Ringwald // btstack_config.h for generic POSIX H4 port
36807484cSMatthias Ringwald //
46807484cSMatthias Ringwald 
56807484cSMatthias Ringwald #ifndef __BTSTACK_CONFIG
66807484cSMatthias Ringwald #define __BTSTACK_CONFIG
76807484cSMatthias Ringwald 
86807484cSMatthias Ringwald // Port related features
96807484cSMatthias Ringwald #define HAVE_MALLOC
106807484cSMatthias Ringwald #define HAVE_POSIX_FILE_IO
116807484cSMatthias Ringwald #define HAVE_BTSTACK_STDIN
126807484cSMatthias Ringwald #define HAVE_POSIX_TIME
136807484cSMatthias Ringwald 
146807484cSMatthias Ringwald // BTstack features that can be enabled
156807484cSMatthias Ringwald #define ENABLE_BLE
166807484cSMatthias Ringwald #define ENABLE_CLASSIC
176807484cSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
186807484cSMatthias Ringwald #define ENABLE_LE_CENTRAL
196807484cSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
206807484cSMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
216807484cSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
22ff01079bSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
236807484cSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
246807484cSMatthias Ringwald #define ENABLE_LOG_ERROR
256807484cSMatthias Ringwald #define ENABLE_LOG_INFO
266807484cSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
276807484cSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
286807484cSMatthias Ringwald // #define ENABLE_EHCILL
296807484cSMatthias Ringwald 
306807484cSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
316807484cSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
326807484cSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
336807484cSMatthias Ringwald 
34*e514a7f5SMatthias Ringwald // Mesh Configuration
35*e514a7f5SMatthias Ringwald #define ENABLE_MESH
36*e514a7f5SMatthias Ringwald #define ENABLE_MESH_ADV_BEARER
37*e514a7f5SMatthias Ringwald #define ENABLE_MESH_GATT_BEARER
38*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_ADV
39*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_GATT
40*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROXY_SERVER
41*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROVISIONER
42*e514a7f5SMatthias Ringwald 
43*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS    16
44*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16
45*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_SUBNETS            2
46*e514a7f5SMatthias Ringwald 
47*e514a7f5SMatthias Ringwald // allow for one NetKey update
48*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
49*e514a7f5SMatthias Ringwald 
506807484cSMatthias Ringwald #endif
516807484cSMatthias Ringwald 
52