xref: /btstack/port/archive/msp-exp430f5438-cc2564b/btstack_config.h (revision 1664436fd643daf66517dc309e6cc72448e8a86d)
1*1664436fSMatthias Ringwald //
2*1664436fSMatthias Ringwald // btstack_config.h for msp-exp430f5438-cc2564b port
3*1664436fSMatthias Ringwald //
4*1664436fSMatthias Ringwald 
5*1664436fSMatthias Ringwald #ifndef BTSTACK_CONFIG_H
6*1664436fSMatthias Ringwald #define BTSTACK_CONFIG_H
7*1664436fSMatthias Ringwald 
8*1664436fSMatthias Ringwald // Port related features
9*1664436fSMatthias Ringwald #define HAVE_EMBEDDED_TICK
10*1664436fSMatthias Ringwald 
11*1664436fSMatthias Ringwald // BTstack features that can be enabled
12*1664436fSMatthias Ringwald #define ENABLE_BLE
13*1664436fSMatthias Ringwald #define ENABLE_CLASSIC
14*1664436fSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
15*1664436fSMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP
16*1664436fSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
17*1664436fSMatthias Ringwald 
18*1664436fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
19*1664436fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52
20*1664436fSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS MAX_SPP_CONNECTIONS
21*1664436fSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1
22*1664436fSMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  2
23*1664436fSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
24*1664436fSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
25*1664436fSMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 0
26*1664436fSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS  (1+MAX_SPP_CONNECTIONS)
27*1664436fSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES  2
28*1664436fSMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 0
29*1664436fSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
30*1664436fSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
31*1664436fSMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
32*1664436fSMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1
33*1664436fSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
34*1664436fSMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
35*1664436fSMatthias Ringwald #define MAX_SPP_CONNECTIONS 1
36*1664436fSMatthias Ringwald 
37*1664436fSMatthias Ringwald #endif
38*1664436fSMatthias Ringwald 
39