ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define __BT_USER_CONFIG_H__
#include "sdkconfig.h"
#define UC_TRACE_LEVEL_NONE
#define UC_TRACE_LEVEL_ERROR
#define UC_TRACE_LEVEL_WARNING
#define UC_TRACE_LEVEL_API
#define UC_TRACE_LEVEL_EVENT
#define UC_TRACE_LEVEL_DEBUG
#define UC_TRACE_LEVEL_VERBOSE
#define UC_BT_BLE_DYNAMIC_ENV_MEMORY
#define UC_BT_BLE_DYNAMIC_ENV_MEMORY
#define UC_BT_STACK_NO_LOG
#define UC_BT_STACK_NO_LOG
#define UC_BT_CONTROLLER_INCLUDED
#define UC_BT_CONTROLLER_INCLUDED
#define UC_TASK_PINNED_TO_CORE
#define UC_TASK_PINNED_TO_CORE
#define UC_BTC_TASK_STACK_SIZE
#define UC_BTC_TASK_STACK_SIZE
#define UC_ALARM_MAX_NUM
#define UC_ALARM_MAX_NUM
#define UC_LOG_DEFAULT_LEVEL
#define UC_LOG_DEFAULT_LEVEL
#define UC_BOOTLOADER_LOG_LEVEL
#define UC_BOOTLOADER_LOG_LEVEL
#define UC_BT_LOG_BTC_TRACE_LEVEL
#define UC_BT_LOG_BTC_TRACE_LEVEL
#define UC_BT_LOG_OSI_TRACE_LEVEL
#define UC_BT_LOG_OSI_TRACE_LEVEL
#define UC_BT_LOG_BLUFI_TRACE_LEVEL
#define UC_BT_LOG_BLUFI_TRACE_LEVEL
#define UC_BT_BLUFI_ENABLE
#define UC_BT_BLUFI_ENABLE
#define UC_BT_BLUEDROID_MEM_DEBUG
#define UC_BT_BLUEDROID_MEM_DEBUG
#define UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
#define UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
#define UC_BT_ABORT_WHEN_ALLOCATION_FAILS
#define UC_BT_ABORT_WHEN_ALLOCATION_FAILS
#define UC_BT_HCI_LOG_DEBUG_EN
#define UC_BT_HCI_LOG_DEBUG_EN
#define UC_BT_HCI_LOG_DATA_BUFFER_SIZE
#define UC_BT_HCI_LOG_DATA_BUFFER_SIZE
#define UC_BT_HCI_LOG_ADV_BUFFER_SIZE
#define UC_BT_HCI_LOG_ADV_BUFFER_SIZE
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/bt/common/include/bt_user_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/*
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#ifndef
__BT_USER_CONFIG_H__
#define
__BT_USER_CONFIG_H__
#include
"
sdkconfig.h"
#define
UC_TRACE_LEVEL_NONE
0
/* No trace messages to be generated */
#define
UC_TRACE_LEVEL_ERROR
1
/* Error condition trace messages */
#define
UC_TRACE_LEVEL_WARNING
2
/* Warning condition trace messages */
#define
UC_TRACE_LEVEL_API
3
/* API traces */
#define
UC_TRACE_LEVEL_EVENT
4
/* Debug messages for events */
#define
UC_TRACE_LEVEL_DEBUG
5
/* Full debug messages */
#define
UC_TRACE_LEVEL_VERBOSE
6
/* Verbose debug messages */
7 defines
//DYNAMIC ENV ALLOCATOR
#ifdef
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY
#define
UC_BT_BLE_DYNAMIC_ENV_MEMORY
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY
#else
#define
UC_BT_BLE_DYNAMIC_ENV_MEMORY
FALSE
#endif
#ifdef
CONFIG_BT_STACK_NO_LOG
#define
UC_BT_STACK_NO_LOG
CONFIG_BT_STACK_NO_LOG
#else
#define
UC_BT_STACK_NO_LOG
FALSE
#endif
#ifdef
CONFIG_BT_CONTROLLER_ENABLED
#define
UC_BT_CONTROLLER_INCLUDED
TRUE
#else
#define
UC_BT_CONTROLLER_INCLUDED
FALSE
#endif
/**********************************************************
* Thread/Task reference
**********************************************************/
/* ... */
#ifdef
CONFIG_BT_BLUEDROID_PINNED_TO_CORE
#define
UC_TASK_PINNED_TO_CORE
(
CONFIG_BT_BLUEDROID_PINNED_TO_CORE
<
CONFIG_FREERTOS_NUMBER_OF_CORES
?
CONFIG_BT_BLUEDROID_PINNED_TO_CORE
:
tskNO_AFFINITY
)
#else
#define
UC_TASK_PINNED_TO_CORE
(
0
)
#endif
#ifdef
CONFIG_BT_BTC_TASK_STACK_SIZE
#define
UC_BTC_TASK_STACK_SIZE
CONFIG_BT_BTC_TASK_STACK_SIZE
#else
#define
UC_BTC_TASK_STACK_SIZE
4096
#endif
/**********************************************************
* Alarm reference
**********************************************************/
/* ... */
#ifdef
CONFIG_BT_ALARM_MAX_NUM
#define
UC_ALARM_MAX_NUM
CONFIG_BT_ALARM_MAX_NUM
#else
#define
UC_ALARM_MAX_NUM
50
#endif
/**********************************************************
* Trace reference
**********************************************************/
/* ... */
#ifdef
CONFIG_LOG_DEFAULT_LEVEL
#define
UC_LOG_DEFAULT_LEVEL
CONFIG_LOG_DEFAULT_LEVEL
#else
#define
UC_LOG_DEFAULT_LEVEL
3
#endif
#ifdef
CONFIG_BOOTLOADER_LOG_LEVEL
#define
UC_BOOTLOADER_LOG_LEVEL
CONFIG_BOOTLOADER_LOG_LEVEL
#else
#define
UC_BOOTLOADER_LOG_LEVEL
3
#endif
#ifdef
CONFIG_BT_LOG_BTC_TRACE_LEVEL
#define
UC_BT_LOG_BTC_TRACE_LEVEL
CONFIG_BT_LOG_BTC_TRACE_LEVEL
#else
#define
UC_BT_LOG_BTC_TRACE_LEVEL
UC_TRACE_LEVEL_WARNING
#endif
#ifdef
CONFIG_BT_LOG_OSI_TRACE_LEVEL
#define
UC_BT_LOG_OSI_TRACE_LEVEL
CONFIG_BT_LOG_OSI_TRACE_LEVEL
#else
#define
UC_BT_LOG_OSI_TRACE_LEVEL
UC_TRACE_LEVEL_WARNING
#endif
#ifdef
CONFIG_BT_LOG_BLUFI_TRACE_LEVEL
#define
UC_BT_LOG_BLUFI_TRACE_LEVEL
CONFIG_BT_LOG_BLUFI_TRACE_LEVEL
#else
#define
UC_BT_LOG_BLUFI_TRACE_LEVEL
UC_TRACE_LEVEL_WARNING
#endif
//BLUFI
#if
defined
(
CONFIG_BT_BLE_BLUFI_ENABLE
)
||
defined
(
CONFIG_BT_NIMBLE_BLUFI_ENABLE
)
#define
UC_BT_BLUFI_ENABLE
TRUE
#else
#define
UC_BT_BLUFI_ENABLE
FALSE
#endif
//MEMORY
#ifdef
CONFIG_BT_BLUEDROID_MEM_DEBUG
#define
UC_BT_BLUEDROID_MEM_DEBUG
TRUE
#else
#define
UC_BT_BLUEDROID_MEM_DEBUG
FALSE
#endif
#ifdef
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST
#define
UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST
#else
#define
UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
FALSE
#endif
#ifdef
CONFIG_BT_ABORT_WHEN_ALLOCATION_FAILS
#define
UC_BT_ABORT_WHEN_ALLOCATION_FAILS
CONFIG_BT_ABORT_WHEN_ALLOCATION_FAILS
#else
#define
UC_BT_ABORT_WHEN_ALLOCATION_FAILS
FALSE
#endif
//HCI LOG
#ifdef
CONFIG_BT_HCI_LOG_DEBUG_EN
#define
UC_BT_HCI_LOG_DEBUG_EN
TRUE
#else
#define
UC_BT_HCI_LOG_DEBUG_EN
FALSE
#endif
#ifdef
CONFIG_BT_HCI_LOG_DATA_BUFFER_SIZE
#define
UC_BT_HCI_LOG_DATA_BUFFER_SIZE
CONFIG_BT_HCI_LOG_DATA_BUFFER_SIZE
#else
#define
UC_BT_HCI_LOG_DATA_BUFFER_SIZE
(
5
)
#endif
#ifdef
CONFIG_BT_HCI_LOG_ADV_BUFFER_SIZE
#define
UC_BT_HCI_LOG_ADV_BUFFER_SIZE
CONFIG_BT_HCI_LOG_ADV_BUFFER_SIZE
#else
#define
UC_BT_HCI_LOG_ADV_BUFFER_SIZE
(
5
)
#endif
/* ... */
#endif
/* __BT_USER_CONFIG_H__ */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
TRUE
FALSE
tskNO_AFFINITY
UC_TRACE_LEVEL_WARNING
UC_BT_STACK_NO_LOG
UC_BT_BLE_DYNAMIC_ENV_MEMORY
UC_BT_CONTROLLER_INCLUDED
UC_TASK_PINNED_TO_CORE
UC_BTC_TASK_STACK_SIZE
UC_BT_LOG_BTC_TRACE_LEVEL
UC_BT_LOG_OSI_TRACE_LEVEL
UC_BT_LOG_BLUFI_TRACE_LEVEL
UC_BT_BLUFI_ENABLE
UC_TRACE_LEVEL_ERROR
UC_TRACE_LEVEL_API
UC_TRACE_LEVEL_EVENT
UC_TRACE_LEVEL_DEBUG
UC_TRACE_LEVEL_VERBOSE
UC_ALARM_MAX_NUM
UC_BT_BLUEDROID_MEM_DEBUG
UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
UC_BT_ABORT_WHEN_ALLOCATION_FAILS
UC_BT_HCI_LOG_DEBUG_EN
UC_BT_HCI_LOG_DATA_BUFFER_SIZE
__BT_USER_CONFIG_H__
UC_TRACE_LEVEL_NONE
UC_LOG_DEFAULT_LEVEL
UC_BOOTLOADER_LOG_LEVEL
UC_BT_HCI_LOG_ADV_BUFFER_SIZE