xref: /btstack/port/apollo2-em9304/btstack_config.h (revision e708f863ff0efb99975c34c0c09b6ff827f4c12c)
1905e80caSMatthias Ringwald //
2077fecbbSMilanka Ringwald // btstack_config.h for Apollo 2 + EM9304 port
3077fecbbSMilanka Ringwald //
4077fecbbSMilanka Ringwald // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
5905e80caSMatthias Ringwald //
6905e80caSMatthias Ringwald 
736327e5aSMilanka Ringwald #ifndef BTSTACK_CONFIG_H
836327e5aSMilanka Ringwald #define BTSTACK_CONFIG_H
9905e80caSMatthias Ringwald 
10905e80caSMatthias Ringwald // Port related features
11905e80caSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
12905e80caSMatthias Ringwald 
13905e80caSMatthias Ringwald // BTstack features that can be enabled
14905e80caSMatthias Ringwald #define ENABLE_BLE
15905e80caSMatthias Ringwald #define ENABLE_LE_CENTRAL
16b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
17905e80caSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
1836327e5aSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
19905e80caSMatthias Ringwald #define ENABLE_LOG_ERROR
20606ccc9bSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
21905e80caSMatthias Ringwald 
22905e80caSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
23b0c4ef71SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 200
2436327e5aSMilanka Ringwald #define MAX_NR_GATT_CLIENTS 1
25905e80caSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
26*e708f863SMatthias Ringwald #define MAX_NR_HIDS_CLIENTS 1
27905e80caSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
2836327e5aSMilanka Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
29905e80caSMatthias Ringwald 
30905e80caSMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
31905e80caSMatthias Ringwald 
32905e80caSMatthias Ringwald #endif
33