Go to the documentation of this file.
10 #include "sdkconfig.h"
11 #include "nimconfig_rename.h"
13 #if defined(CONFIG_BT_ENABLED)
16 #define CONFIG_NIMBLE_CPP_IDF
19 #if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) && !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
20 #define CONFIG_BT_NIMBLE_ROLE_OBSERVER
24 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) && !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
25 #define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
29 #if defined __has_include
30 # if __has_include (<Arduino.h>)
31 # define NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
40 #define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3
48 #define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
56 #define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
59 #define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 255
62 #define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"
68 #define CONFIG_BT_NIMBLE_LOG_LEVEL 5
74 #define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
79 #define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
84 #define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
89 #define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
92 #define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0
97 #define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
102 #define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
107 #define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
112 #define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
115 #define CONFIG_BT_NIMBLE_MAX_BONDS 3
118 #define CONFIG_BT_NIMBLE_MAX_CCCDS 8
121 #define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900
129 #define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT 12
132 #define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL 1
135 #define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0
138 #define CONFIG_BT_NIMBLE_TASK_STACK_SIZE 4096