xref: /btstack/port/posix-h4-atwilc3000/btstack_config.h (revision e514a7f533c205a9d9a793ff09d181fcea9ebd1a)
1ccebdf93SMatthias Ringwald //
2ccebdf93SMatthias Ringwald // btstack_config.h for generic POSIX H4 port
3ccebdf93SMatthias Ringwald //
4ccebdf93SMatthias Ringwald 
5ccebdf93SMatthias Ringwald #ifndef __BTSTACK_CONFIG
6ccebdf93SMatthias Ringwald #define __BTSTACK_CONFIG
7ccebdf93SMatthias Ringwald 
8ccebdf93SMatthias Ringwald // Port related features
9ccebdf93SMatthias Ringwald #define HAVE_MALLOC
10ccebdf93SMatthias Ringwald #define HAVE_POSIX_FILE_IO
11ccebdf93SMatthias Ringwald #define HAVE_BTSTACK_STDIN
12ccebdf93SMatthias Ringwald #define HAVE_POSIX_TIME
13ccebdf93SMatthias Ringwald 
14ccebdf93SMatthias Ringwald // BTstack features that can be enabled
15ccebdf93SMatthias Ringwald #define ENABLE_BLE
16ccebdf93SMatthias Ringwald #define ENABLE_CLASSIC
17ccebdf93SMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
18e5b6c4e9SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
19ccebdf93SMatthias Ringwald #define ENABLE_LE_CENTRAL
20ccebdf93SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
21ccebdf93SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
22fcae305fSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
23ff01079bSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
24ccebdf93SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
25ccebdf93SMatthias Ringwald #define ENABLE_LOG_ERROR
26ccebdf93SMatthias Ringwald #define ENABLE_LOG_INFO
27ccebdf93SMatthias Ringwald #define ENABLE_SCO_OVER_HCI
28ccebdf93SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
29ccebdf93SMatthias Ringwald // #define ENABLE_EHCILL
30ccebdf93SMatthias Ringwald 
31ccebdf93SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
32ccebdf93SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
33ccebdf93SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
34ccebdf93SMatthias Ringwald 
35*e514a7f5SMatthias 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 
52ccebdf93SMatthias Ringwald #endif
53ccebdf93SMatthias Ringwald 
54