|
2 | 2 | #define _PICO_BTSTACK_BTSTACK_CONFIG_H
|
3 | 3 |
|
4 | 4 | // BTstack features that can be enabled
|
5 |
| -#ifdef ENABLE_BLE |
6 |
| -#define ENABLE_LE_PERIPHERAL |
7 |
| -#define ENABLE_LE_CENTRAL |
8 |
| -#define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE |
9 |
| -#endif |
10 | 5 | #define ENABLE_LOG_INFO
|
11 | 6 | #define ENABLE_LOG_ERROR
|
12 | 7 | #define ENABLE_PRINTF_HEXDUMP
|
13 | 8 | #define ENABLE_SCO_OVER_HCI
|
14 | 9 |
|
| 10 | +#ifdef ENABLE_BLE |
| 11 | +#define ENABLE_GATT_CLIENT_PAIRING |
| 12 | +#define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE |
| 13 | +#define ENABLE_LE_CENTRAL |
| 14 | +#define ENABLE_LE_DATA_LENGTH_EXTENSION |
| 15 | +#define ENABLE_LE_PERIPHERAL |
| 16 | +#define ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION |
| 17 | +#define ENABLE_LE_SECURE_CONNECTIONS |
| 18 | +#endif |
| 19 | + |
| 20 | +#ifdef ENABLE_CLASSIC |
| 21 | +#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE |
| 22 | +#define ENABLE_GOEP_L2CAP |
| 23 | +#endif |
| 24 | + |
| 25 | +#if defined (ENABLE_CLASSIC) && defined(ENABLE_BLE) |
| 26 | +#define ENABLE_CROSS_TRANSPORT_KEY_DERIVATION |
| 27 | +#endif |
| 28 | + |
15 | 29 | // BTstack configuration. buffers, sizes, ...
|
16 | 30 | #define HCI_OUTGOING_PRE_BUFFER_SIZE 4
|
17 | 31 | #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
|
72 | 86 | // To get the audio demos working even with HCI dump at 115200, this truncates long ACL packets
|
73 | 87 | //#define HCI_DUMP_STDOUT_MAX_SIZE_ACL 100
|
74 | 88 |
|
75 |
| -#ifdef ENABLE_CLASSIC |
76 |
| -#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE |
77 |
| -#endif |
78 |
| - |
79 | 89 | #endif // _PICO_BTSTACK_BTSTACK_CONFIG_H
|
0 commit comments