-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathKconfig
289 lines (235 loc) · 6.69 KB
/
Kconfig
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
#
# For a description of the syntax of this configuration file,
# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
#
menuconfig LIB_FLUORIDE
bool "The Fluoride Bluetooth stack"
default n
select EVENT_FD
select DEV_URANDOM
select LIB_CHROMIUM
select LIB_TINYXML2
select SIM_WALLTIME if SIM
help
Enable support for the Fluoride Bluetooth stack
if LIB_FLUORIDE
config FLUORIDE_SERVICE_CLASS
hex "Fluoride Service Class"
default 0x20
config FLUORIDE_MAJOR_CLASS
hex "Fluoride Major Class"
default 0x40
config FLUORIDE_MINOR_CLASS
hex "Fluoride Minor Class"
default 0x08
config FLUORIDE_HCI_H4
bool "H:4 UART"
default n
help
Bluetooth H:4 UART driver. Requires hardware flow control
lines to be available.
config FLUORIDE_HCI_USB
bool "H:2 USB"
default n
help
Bluetooth H:2 USB driver.
config FLUORIDE_DEVICE_NAME
string "Bluetooth device name"
default "NuttX Fluoride"
help
Bluetooth device name.
config FLUORIDE_FILE_PATH
string "Fluoride config path"
default "/data/bt_config.conf"
config FLUORIDE_BACKUP_PATH
string "Fluoride config backup path"
default "/data/bt_config.bak"
config FLUORIDE_LEGACY_FILE_PATH
string "Fluoride config backup path"
default "/data/bt_config.xml"
config FLUORIDE_BTE_DID_CONF_FILE
string "Fluoride bte did config file"
default "/data/bt_did.conf"
config FLUORIDE_STACK_CONFIG_PATH
string "Fluoride stack config path"
default "/data/bt_stack.conf"
config FLUORIDE_HCI_RX_STACKSIZE
int "BT HCI RX thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth HCI RX thread stack size.
config FLUORIDE_MAIN_STACKSIZE
int "BT main thread stack size"
default 16384 if ARCH_SIM
default 12288
help
Bluetooth main thread stack size.
config FLUORIDE_JNI_STACKSIZE
int "BT JNI thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth JNI thread stack size.
config FLUORIDE_HCI_STACKSIZE
int "BT HCI thread stack size"
default 32768 if FLUORIDE_HCI_USB
default DEFAULT_TASK_STACKSIZE
help
Bluetooth HCI thread stack size.
config FLUORIDE_MANAGER_STACKSIZE
int "BT manager thread stack size"
default 16384 if ARCH_SIM
default 12288
help
Bluetooth manager thread stack size.
config FLUORIDE_A2DP_SINK_STACKSIZE
int "BT a2dp sink thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth a2dp sink thread stack size.
config FLUORIDE_A2DP_SOURCE_STACKSIZE
int "BT a2dp source thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth a2dp source thread stack size.
config FLUORIDE_ALARM_DISPATCHER_STACKSIZE
int "BT alarm dispatcher thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth alarm dispatcher thread stack size.
config FLUORIDE_ALARM_CALLBACK_STACKSIZE
int "BT alarm callback thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth alarm callback thread stack size.
config FLUORIDE_ALARM_DEPRECATED_STACKSIZE
int "BT alarm deprecated thread stack size"
default DEFAULT_TASK_STACKSIZE
help
Bluetooth alarm deprecated thread stack size.
if FLUORIDE_HCI_H4
config FLUORIDE_HCI_UART_NAME
string "Device Name of UART Device for Bluetooth"
default "/dev/ttyBT"
help
This option specifies the name of UART device to be used
for Bluetooth.
endif
config FLUORIDE_LOG_LEVEL
int "Fluoride Debug Log Level"
default 0
help
Sets log level for the Fluoride stack.
config BTA_GATTC_KNOWN_SR_MAX
int "Max known devices GATTC can support in Bluetooth spec."
default 25
help
Max known devices GATTC can support in Bluetooth spec.
config BTA_GATTC_CL_MAX
int "Max client application GATTC can support"
default 8
help
Max client application GATTC can support
config BTA_DM_SDP_DB_SIZE
int "Max DM SDP Database size"
default 10240
help
Max DM SDP Database size
config GATT_CL_MAX_LCB
int "Max GATT CL LCB"
default 8
help
Max GATT CL LCB
config HF_CLIENT_MAX_DEVICES
int "Maximum number of HF devices supported simultaneously"
default 2
help
Maximum number of HF devices supported simultaneously
config SDP_MAX_CONNECTIONS
int "The maximum number of simultaneous client and server connections."
default 2
help
The maximum number of simultaneous client and server connections.
config BT_RC_NUM_APP
int "Change this macro to use multiple RC"
default 2
help
Change this macro to use multiple RC.
config AVDT_NUM_LINKS
int "Number of simultaneous links to different peer devices."
default 6
help
Number of simultaneous links to different peer devices.
config AVDT_NUM_SEPS
int "Number of simultaneous stream endpoints."
default 2
help
Number of simultaneous stream endpoints.
config MAX_ACL_CONNECTIONS
int "The maximum number of simultaneous links that ACL can support."
default 2
help
The maximum number of simultaneous links that ACL can support.
config SDP_MAX_RECORDS
int "The maximum number of SDP records the server can support."
default 5
help
The maximum number of SDP records the server can support.
config SDP_MAX_REC_ATTR
int "The maximum number of attributes in each record."
default 5
help
The maximum number of attributes in each record.
config SDP_MAX_DISC_SERVER_RECS
int "The maximum number of record handles retrieved in a search."
default 5
help
The maximum number of record handles retrieved in a search.
config BTM_MAX_SCO_LINKS
int "The number of SCO links."
default 2
help
The number of SCO links.
config BTM_SEC_MAX_DEVICE_RECORDS
int "The number of security records for peer devices."
default 20
help
The number of security records for peer devices.
config BTM_SEC_MAX_SERVICE_RECORDS
int "The number of security records for services."
default 8
help
The number of security records for services.
config BTM_INQ_DB_SIZE
int "The size in bytes of the BTM inquiry database."
default 10
help
The size in bytes of the BTM inquiry database.
config BTM_LOCAL_IO_CAPS
int "The IO capability of the local device (for Simple Pairing)."
default 3
help
The IO capability of the local device (for Simple Pairing).
config SC_MODE_INCLUDED
bool "4.1/4.2 secure connections feature"
default n
help
The option of 4.1/4.2 secure connections feature
config FLUORIDE_EXAMPLES
bool "Enable Fluoride Examples"
default n
help
Activate examples that provides Bluetooth commands to the
console.
if FLUORIDE_EXAMPLES
config FLUORIDE_EXAMPLES_A2DP_SINK
bool "Enable Fluoride A2DP Sink Example"
default n
help
Enable Fluoride A2DP Sink Example
endif
if AUDIO
config FLUORIDE_A2DP_SINK_DEVNAME
string "Fluoride Avrcp A2DP Sink Device Name"
default "/dev/audio/pcm0p"
endif
endif