diff options
Diffstat (limited to 'src/btstack_config.h')
-rw-r--r-- | src/btstack_config.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/btstack_config.h b/src/btstack_config.h index e38468b..8f6b5bf 100644 --- a/src/btstack_config.h +++ b/src/btstack_config.h @@ -3,8 +3,9 @@ // BTstack features that can be enabled #ifdef ENABLE_BLE -#warning no BLE -#undef ENABLE_BLE +#define ENABLE_LE_PERIPHERAL +#define ENABLE_LE_CENTRAL +#define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE #endif #define ENABLE_LOG_DEBUG #define ENABLE_LOG_INFO @@ -15,22 +16,22 @@ #define ENABLE_LOG_BTSTACK_EVENTS // BTstack configuration. buffers, sizes, ... -#define HCI_OUTGOING_PRE_BUFFER_SIZE 16 -#define HCI_ACL_PAYLOAD_SIZE (1691 + 4) +#define HCI_OUTGOING_PRE_BUFFER_SIZE 4 +#define HCI_ACL_PAYLOAD_SIZE (158 + 4) #define HCI_ACL_CHUNK_SIZE_ALIGNMENT 4 #define MAX_NR_AVDTP_CONNECTIONS 1 #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1 #define MAX_NR_AVRCP_CONNECTIONS 2 #define MAX_NR_BNEP_CHANNELS 1 #define MAX_NR_BNEP_SERVICES 1 -#define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 +#define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 3 #define MAX_NR_GATT_CLIENTS 1 -#define MAX_NR_HCI_CONNECTIONS 1 +#define MAX_NR_HCI_CONNECTIONS 3 #define MAX_NR_HID_HOST_CONNECTIONS 1 #define MAX_NR_HIDS_CLIENTS 1 #define MAX_NR_HFP_CONNECTIONS 1 -#define MAX_NR_L2CAP_CHANNELS 4 -#define MAX_NR_L2CAP_SERVICES 3 +#define MAX_NR_L2CAP_CHANNELS 4 +#define MAX_NR_L2CAP_SERVICES 3 #define MAX_NR_RFCOMM_CHANNELS 1 #define MAX_NR_RFCOMM_MULTIPLEXERS 1 #define MAX_NR_RFCOMM_SERVICES 1 |