1# Bluetooth Classic configuration options 2 3# Copyright (c) 2016-2020 Nordic Semiconductor ASA 4# Copyright (c) 2015-2016 Intel Corporation 5# SPDX-License-Identifier: Apache-2.0 6 7menu "Bluetooth Classic Options" 8 9config BT_CLASSIC 10 bool "Bluetooth BR/EDR support [EXPERIMENTAL]" 11 depends on BT_HCI_HOST 12 select BT_PERIPHERAL 13 select BT_CENTRAL 14 select BT_SMP 15 select BT_L2CAP_DYNAMIC_CHANNEL 16 select CRC 17 select EXPERIMENTAL 18 help 19 This option enables Bluetooth BR/EDR support 20 21if BT_CLASSIC 22config BT_LIMITED_DISCOVERABLE_DURATION 23 int "Maximum duration that a device is in limited discoverable mode in seconds" 24 default 60 25 range 31 60 26 help 27 This option sets the maximum duration that a device is in limited discoverable mode in 28 seconds. 29 30config BT_BR_MIN_ENC_KEY_SIZE 31 int 32 prompt "Minimum encryption key size accepted in octets" if !BT_SMP_SC_ONLY 33 default BT_SMP_MIN_ENC_KEY_SIZE 34 range 7 16 35 help 36 This option sets the minimum encryption key size accepted during pairing 37 for classic. 38 39config BT_MAX_SCO_CONN 40 int "Maximum number of simultaneous SCO connections" 41 default 1 42 range 1 3 43 help 44 Maximum number of simultaneous Bluetooth synchronous connections 45 supported. The minimum (and default) number is 1. 46 47config BT_L2CAP_RX_FLUSH_TO 48 hex "Minimum Bluetooth L2CAP RX flush Timeout accepted in milliseconds" 49 default 0x0001 if BT_A2DP_SINK 50 default 0xFFFF 51 range 0x0001 0xFFFF 52 help 53 This option configures minimum Bluetooth L2CAP RX flush timeout accepted during 54 processing peer's l2cap flush timeout configuration. 55 The flush timeout applies to all channels on the same ACL logical transport but 56 may be overridden on a packet by packet basis by marking individual L2CAP packets 57 as non-automatically-flushable via the Packet_Boundary_Flag in the HCI ACL Data packet. 58 59config BT_L2CAP_CONNLESS 60 bool "Bluetooth L2CAP connectionless data reception [EXPERIMENTAL]" 61 select EXPERIMENTAL 62 help 63 This option enables Bluetooth L2CAP connectionless data reception 64 65config BT_L2CAP_RET 66 bool "Bluetooth L2CAP retransmission mode [EXPERIMENTAL]" 67 select EXPERIMENTAL 68 help 69 This option enables Bluetooth L2CAP retransmission mode 70 71config BT_L2CAP_FC 72 bool "Bluetooth L2CAP flow control mode [EXPERIMENTAL]" 73 select EXPERIMENTAL 74 help 75 This option enables Bluetooth L2CAP flow control mode 76 77config BT_L2CAP_ENH_RET 78 bool "Bluetooth L2CAP enhance retransmission [EXPERIMENTAL]" 79 select EXPERIMENTAL 80 help 81 This option enables Bluetooth L2CAP enhance retransmission 82 83config BT_L2CAP_STREAM 84 bool "Bluetooth L2CAP streaming mode [EXPERIMENTAL]" 85 select EXPERIMENTAL 86 help 87 This option enables Bluetooth L2CAP streaming mode 88 89config BT_L2CAP_RET_FC 90 def_bool BT_L2CAP_RET || BT_L2CAP_FC || BT_L2CAP_ENH_RET || BT_L2CAP_STREAM 91 92if BT_L2CAP_RET_FC 93config BT_L2CAP_FCS 94 bool "Bluetooth L2CAP FCS Option [EXPERIMENTAL]" 95 select EXPERIMENTAL 96 depends on BT_L2CAP_STREAM || BT_L2CAP_ENH_RET 97 help 98 This option enables Bluetooth L2CAP FCS Option 99 100config BT_L2CAP_EXT_WIN_SIZE 101 bool "Bluetooth L2CAP Extended window size Option [EXPERIMENTAL]" 102 select EXPERIMENTAL 103 depends on BT_L2CAP_STREAM || BT_L2CAP_ENH_RET 104 help 105 This option enables Bluetooth L2CAP Extended window size Option 106 107config BT_L2CAP_MPS 108 int "Bluetooth L2CAP MPS for retransmission and Flow control" 109 default 48 110 range 48 BT_L2CAP_TX_MTU 111 help 112 Bluetooth L2CAP MPS for retransmission and Flow control 113 114config BT_L2CAP_MAX_WINDOW_SIZE 115 int "Maximum Windows Size of Retransmission and Flow Control" 116 default 1 117 range 1 32 118 help 119 Maximum Windows Size of Retransmission and Flow Control. 120 The minimum (and default) number is 1. 121 122config BT_L2CAP_BR_RET_TIMEOUT 123 int "Retransmission timeout (milliseconds)" 124 default 2000 125 range 1000 2000 126 help 127 The Retransmission timeout shall be three times the value of flush timeout, 128 subject to a minimum of 1000 milliseconds and maximum of 2000 milliseconds. 129 130config BT_L2CAP_BR_MONITOR_TIMEOUT 131 int "Monitor timeout (milliseconds)" 132 default 12000 if BT_L2CAP_ENH_RET 133 default BT_L2CAP_BR_RET_TIMEOUT 134 range BT_L2CAP_BR_RET_TIMEOUT 12000 135 help 136 If a flush timeout exists on the link for Enhanced Retransmission mode and 137 both sides of the link are configured to the same flush timeout value then the 138 monitor timeout shall be set to a value at least as large as the Retransmission 139 timeout otherwise the value of the Monitor timeout shall be six times the value 140 of flush timeout, subject to a minimum of the retransmission timeout value and 141 a maximum of 12000 milliseconds. 142endif # BT_L2CAP_RET_FC 143 144config BT_RFCOMM 145 bool "Bluetooth RFCOMM protocol support [EXPERIMENTAL]" 146 select EXPERIMENTAL 147 help 148 This option enables Bluetooth RFCOMM support 149 150config BT_RFCOMM_L2CAP_MTU 151 int "L2CAP MTU for RFCOMM frames" 152 depends on BT_RFCOMM 153 default BT_BUF_ACL_RX_SIZE 154 range 23 $(INT16_MAX) 155 help 156 Maximum size of L2CAP PDU for RFCOMM frames. 157 RX MTU will be truncated to account for the L2CAP PDU header. 158 159config BT_RFCOMM_TX_MAX 160 int "Maximum number of pending TX buffers for RFCOMM" 161 default BT_BUF_ACL_TX_COUNT 162 range BT_BUF_ACL_TX_COUNT $(UINT8_MAX) 163 help 164 Maximum number of pending TX buffers that have an associated 165 sending buf. Normally this can be left to the default value, which 166 is equal to the number of session in the stack-internal pool. 167 168config BT_HFP_HF 169 bool "Bluetooth Handsfree profile HF Role support [EXPERIMENTAL]" 170 depends on PRINTK 171 select BT_RFCOMM 172 select EXPERIMENTAL 173 help 174 This option enables Bluetooth HF support 175 176config BT_HFP_AG 177 bool "Bluetooth Handsfree profile AG Role support [EXPERIMENTAL]" 178 depends on PRINTK 179 select BT_RFCOMM 180 select EXPERIMENTAL 181 help 182 This option enables Bluetooth AG support 183 184if BT_HFP_HF 185config BT_HFP_HF_CLI 186 bool "CLI presentation capability for HFP HF [EXPERIMENTAL]" 187 default y 188 help 189 This option enables CLI presentation capability for HFP HF 190 191config BT_HFP_HF_VOLUME 192 bool "Remote audio volume control for HFP HF [EXPERIMENTAL]" 193 default y 194 help 195 This option enables Remote audio volume control for HFP HF 196 197config BT_HFP_HF_CODEC_NEG 198 bool "Codec Negotiation for HFP HF [EXPERIMENTAL]" 199 help 200 This option enables Codec Negotiation for HFP HF 201 202config BT_HFP_HF_ECNR 203 bool "EC and/or NR function for HFP HF [EXPERIMENTAL]" 204 help 205 This option enables EC and/or NR function for HFP HF 206 207if BT_HFP_HF_CODEC_NEG 208config BT_HFP_HF_CODEC_MSBC 209 bool "Support Codec mSBC for HFP HF [EXPERIMENTAL]" 210 help 211 This option enables Codec mSBC for HFP HF 212 213config BT_HFP_HF_CODEC_LC3_SWB 214 bool "Support Codec LC3 SWB for HFP HF [EXPERIMENTAL]" 215 help 216 This option enables Codec LC3 SWB for HFP HF 217endif # BT_HFP_HF_CODEC_NEG 218 219config BT_HFP_HF_3WAY_CALL 220 bool "Three-way calling for HFP HF [EXPERIMENTAL]" 221 help 222 This option enables Three-way calling for HFP HF 223 224config BT_HFP_HF_ECS 225 bool "Enhanced Call Status for HFP HF [EXPERIMENTAL]" 226 default y if BT_HFP_HF_3WAY_CALL 227 help 228 This option enables Enhanced Call Status for HFP HF 229 230config BT_HFP_HF_ECC 231 bool "Enhanced Call Control for HFP HF [EXPERIMENTAL]" 232 default y if BT_HFP_HF_3WAY_CALL 233 help 234 This option enables Enhanced Call Control for HFP HF 235 236config BT_HFP_HF_MAX_CALLS 237 int "Maximum supported calls for HFP HF [EXPERIMENTAL]" 238 default 2 if BT_HFP_HF_3WAY_CALL 239 default 1 240 range 1 2 241 help 242 This option sets maximum supported calls for HFP HF 243 244config BT_HFP_HF_VOICE_RECG 245 bool "Voice recognition activation for HFP HF [EXPERIMENTAL]" 246 help 247 This option enables Voice recognition activation for HFP HF 248 249config BT_HFP_HF_ENH_VOICE_RECG 250 bool "Enhanced Voice Recognition Status for HFP HF [EXPERIMENTAL]" 251 select BT_HFP_HF_VOICE_RECG 252 help 253 This option enables Enhanced Voice Recognition Status for HFP HF 254 255config BT_HFP_HF_VOICE_RECG_TEXT 256 bool "Voice Recognition Text for HFP HF [EXPERIMENTAL]" 257 select BT_HFP_HF_ENH_VOICE_RECG 258 help 259 This option enables Voice Recognition Text for HFP HF 260 261config BT_HFP_HF_HF_INDICATORS 262 bool "HF Indicators for HFP HF [EXPERIMENTAL]" 263 help 264 This option enables HF Indicators for HFP HF 265 266config BT_HFP_HF_HF_INDICATOR_ENH_SAFETY 267 bool "HF Indicator Enhanced Safety for HFP HF [EXPERIMENTAL]" 268 select BT_HFP_HF_HF_INDICATORS 269 help 270 This option enables HF Indicator Enhanced Safety for HFP HF 271 272config BT_HFP_HF_HF_INDICATOR_BATTERY 273 bool "HF Indicator Battery level for HFP HF [EXPERIMENTAL]" 274 select BT_HFP_HF_HF_INDICATORS 275 help 276 This option enables HF Indicator Battery level for HFP HF 277 278endif # BT_HFP_HF 279 280if BT_HFP_AG 281config BT_HFP_AG_EXT_ERR 282 bool "Extended Error Result Codes for HFP AG [EXPERIMENTAL]" 283 default y 284 help 285 This option enables Extended Error Result Codes for HFP AG 286 287config BT_HFP_AG_CODEC_NEG 288 bool "Codec Negotiation for HFP AG [EXPERIMENTAL]" 289 help 290 This option enables Codec Negotiation for HFP AG 291 292if BT_HFP_AG_CODEC_NEG 293config BT_HFP_AG_CODEC_MSBC 294 bool "Support Codec mSBC for HFP AG [EXPERIMENTAL]" 295 help 296 This option enables Codec mSBC for HFP AG 297 298config BT_HFP_AG_CODEC_LC3_SWB 299 bool "Support Codec LC3 SWB for HFP AG [EXPERIMENTAL]" 300 help 301 This option enables Codec LC3 SWB for HFP AG 302endif # BT_HFP_AG_CODEC_NEG 303 304config BT_HFP_AG_ECNR 305 bool "EC and/or NR function for HFP AG [EXPERIMENTAL]" 306 help 307 This option enables EC and/or NR function for HFP AG 308 309config BT_HFP_AG_3WAY_CALL 310 bool "Three-way calling for HFP AG [EXPERIMENTAL]" 311 help 312 This option enables Three-way calling for HFP AG 313 314config BT_HFP_AG_MAX_CALLS 315 int "Maximum supported calls for HFP AG [EXPERIMENTAL]" 316 default 2 if BT_HFP_AG_3WAY_CALL 317 default 1 318 range 1 2 319 help 320 This option sets maximum supported calls for HFP AG 321 322config BT_HFP_AG_ECS 323 bool "Enhanced call status for HFP AG [EXPERIMENTAL]" 324 default y if BT_HFP_AG_3WAY_CALL 325 help 326 This option enables Enhanced call status for HFP AG 327 328config BT_HFP_AG_ECC 329 bool "Enhanced call control for HFP AG [EXPERIMENTAL]" 330 default y if BT_HFP_AG_3WAY_CALL 331 help 332 This option enables Enhanced call control for HFP AG 333 334config BT_HFP_AG_TX_BUF_COUNT 335 int "Maximum number of TX buffers for HFP AG [EXPERIMENTAL]" 336 default BT_RFCOMM_TX_MAX 337 range BT_RFCOMM_TX_MAX $(UINT8_MAX) 338 help 339 Maximum number of pending TX buffers that have an associated 340 sending buf. Normally this can be left to the default value, which 341 is equal to the number of session in the stack-internal pool. 342 343config BT_HFP_AG_OUTGOING_TIMEOUT 344 int "Call outgoing timeout value for HFP AG [EXPERIMENTAL]" 345 default 3 346 range 1 10 347 help 348 The option sets the timeout of call outgoing. If the call does 349 not switch to alerting state before timeout, it will be 350 stopped by the HFP AG. The unit is seconds. 351 352config BT_HFP_AG_INCOMING_TIMEOUT 353 int "Incoming call timeout value for HFP AG [EXPERIMENTAL]" 354 default 3 355 range 1 10 356 help 357 The option sets the timeout of incoming call. If the call does 358 not switch to ringing state before timeout, it will be 359 stopped by the HFP AG. The unit is seconds. 360 361config BT_HFP_AG_ALERTING_TIMEOUT 362 int "Call alerting/ringing timeout value for HFP AG [EXPERIMENTAL]" 363 default 60 364 range 10 60 365 help 366 The option sets the timeout of call alerting/ringing. If the 367 call is not active before timeout, it will be stopped 368 by the HFP AG. The unit is seconds. 369 370config BT_HFP_AG_PHONE_NUMBER_MAX_LEN 371 int "Supported max length of phone number for HFP AG [EXPERIMENTAL]" 372 default 32 373 range 1 $(UINT8_MAX) 374 help 375 Supported max length of phone number for HFP AG. 376 377config BT_HFP_AG_RING_NOTIFY_INTERVAL 378 int "Ring notification interval [EXPERIMENTAL]" 379 default 3 380 help 381 Ring notification interval if the call is in alert state. 382 The unit is seconds. 383 384config BT_HFP_AG_VOICE_RECG 385 bool "Voice recognition activation for HFP AG [EXPERIMENTAL]" 386 help 387 This option enables Voice recognition activation for HFP AG 388 389config BT_HFP_AG_ENH_VOICE_RECG 390 bool "Enhanced Voice Recognition Status for HFP AG [EXPERIMENTAL]" 391 select BT_HFP_AG_VOICE_RECG 392 help 393 This option enables Enhanced Voice Recognition Status for HFP AG 394 395config BT_HFP_AG_VOICE_RECG_TEXT 396 bool "Voice Recognition Text for HFP AG [EXPERIMENTAL]" 397 select BT_HFP_AG_ENH_VOICE_RECG 398 help 399 This option enables Voice Recognition Text for HFP AG 400 401config BT_HFP_AG_VOICE_TAG 402 bool "Attach a phone number for a voice tag for HFP AG [EXPERIMENTAL]" 403 select BT_HFP_AG_VOICE_RECG 404 help 405 This option enables Attach a phone number for a voice tag for HFP AG 406 407config BT_HFP_AG_HF_INDICATORS 408 bool "HF Indicators for HFP AG [EXPERIMENTAL]" 409 help 410 This option enables HF Indicators for HFP AG 411 412config BT_HFP_AG_HF_INDICATOR_ENH_SAFETY 413 bool "HF Indicator Enhanced Safety for HFP AG [EXPERIMENTAL]" 414 select BT_HFP_AG_HF_INDICATORS 415 help 416 This option enables HF Indicator Enhanced Safety for HFP AG 417 418config BT_HFP_AG_HF_INDICATOR_BATTERY 419 bool "HF Indicator Battery level for HFP AG [EXPERIMENTAL]" 420 select BT_HFP_AG_HF_INDICATORS 421 help 422 This option enables HF Indicator Battery level for HFP AG 423 424config BT_HFP_AG_REJECT_CALL 425 bool "Ability to reject a call for HFP AG [EXPERIMENTAL]" 426 default y 427 help 428 This option enables ability to reject a call for HFP AG 429 430config BT_HFP_AG_GET_ONGOING_CALL_TIMEOUT 431 int "Timeout after the get ongoing calls callback notified (milliseconds) [EXPERIMENTAL]" 432 default 10000 433 range 1000 10000 434 help 435 This option sets the timeout after the get ongoing calls callback notified 436 437config BT_HFP_AG_INBAND_RINGTONE 438 bool "In-band ring tone capability" 439 default y 440 help 441 This option enables In-band ring tone capability 442 443endif # BT_HFP_AG 444 445config BT_AVDTP 446 bool "Bluetooth AVDTP protocol support [EXPERIMENTAL]" 447 select EXPERIMENTAL 448 help 449 This option enables Bluetooth AVDTP support 450 451config BT_A2DP 452 bool "Bluetooth A2DP Profile [EXPERIMENTAL]" 453 select BT_AVDTP 454 imply LIBSBC 455 select EXPERIMENTAL 456 help 457 This option enables the A2DP profile 458 459if BT_AVDTP 460 461config BT_AVDTP_RTP_VERSION 462 int "Bluetooth AVDTP RTP version" 463 default 2 464 help 465 This option sets the AVDTP RTP protocol version 466 467config BT_AVDTP_SIGNAL_SDU_MAX 468 int "Maximum size of AVDTP signaling SDU" 469 default 512 470 range 48 $(UINT16_MAX) 471 help 472 This option sets the maximum size of AVDTP signaling SDU. 473 The default value is 512 bytes. 474 475endif # BT_AVDTP 476 477if BT_A2DP 478 479config BT_A2DP_SOURCE 480 bool "Bluetooth A2DP Profile Source Function" 481 help 482 This option enables the A2DP profile source function 483 484config BT_A2DP_SINK 485 bool "Bluetooth A2DP Profile Sink Function" 486 help 487 This option enables the A2DP profile sink function 488 489endif # BT_A2DP 490 491config BT_AVCTP 492 bool "Bluetooth AVCTP protocol support [EXPERIMENTAL]" 493 select EXPERIMENTAL 494 help 495 This option enables Bluetooth AVCTP support 496 497config BT_AVRCP 498 bool "Bluetooth AVRCP Profile [EXPERIMENTAL]" 499 select BT_AVCTP 500 select EXPERIMENTAL 501 help 502 This option enables the AVRCP profile 503 504if BT_AVRCP 505 506config BT_AVRCP_TARGET 507 bool "Bluetooth AVRCP Profile Target Function" 508 help 509 This option enables the AVRCP profile target function 510 511config BT_AVRCP_CONTROLLER 512 bool "Bluetooth AVRCP Profile Controller Function" 513 help 514 This option enables the AVRCP profile controller function 515 516config BT_AVRCP_VD_RX_SIZE 517 int "AVRCP Vendor Dependent RX data buffer Size" 518 default 1024 519 range 512 $(INT16_MAX) 520 help 521 Size of the AVRCP Vendor Dependent RX data buffer in bytes. 522 This buffer is used for reassembling fragmented AVRCP Vendor Dependent 523 commands and responses received from the CT device. If the remote CT 524 sends large Vendor-specific PDUs or frequent fragmentation occurs, 525 consider increasing this value to avoid incomplete message handling. 526 527config BT_AVRCP_BROWSING 528 bool "Bluetooth AVRCP Browsing channel support [EXPERIMENTAL]" 529 select EXPERIMENTAL 530 select BT_L2CAP_ENH_RET 531 help 532 This option enables support for the AVRCP Browsing channel 533 over Bluetooth BR/EDR. 534 535if BT_AVRCP_BROWSING 536 537config BT_AVRCP_BROWSING_L2CAP_MTU 538 int "L2CAP MTU for AVRCP Browsing Channel" 539 default 339 540 # For AVRCP Browsing Channel over L2CAP, including: 541 # 335 bytes - the minimum MTU for AVRCP Browsing Channel, 542 # 4 bytes - L2CAP Header, 543 range 339 4096 544 help 545 Maximum size of L2CAP MTU for AVCTP Browsing Channel. 546 RX MTU will be truncated to account for ACL data and type overhead, and 547 the L2CAP PDUheader. 548 549endif # BT_AVRCP_BROWSING 550 551config BT_AVRCP_TG_COVER_ART 552 bool "Bluetooth AVRCP Target Cover Art support [EXPERIMENTAL]" 553 select EXPERIMENTAL 554 select BT_BIP 555 depends on BT_AVRCP_TARGET 556 help 557 This option enables support for Cover Art in the AVRCP Target 558 role over Bluetooth BR/EDR. 559 560config BT_AVRCP_CT_COVER_ART 561 bool 562 select EXPERIMENTAL 563 select BT_BIP 564 depends on BT_AVRCP_CONTROLLER 565 help 566 This option enables support for Cover Art in the AVRCP controller 567 role over Bluetooth BR/EDR. 568 569config BT_AVRCP_CT_COVER_ART_GET_IMAGE_PROPERTIES 570 bool "Bluetooth AVRCP Controller Cover Art Get Image Properties support [EXPERIMENTAL]" 571 select EXPERIMENTAL 572 select BT_BIP 573 select BT_AVRCP_CT_COVER_ART 574 depends on BT_AVRCP_CONTROLLER 575 help 576 This option enables support for Cover Art Get Image Properties in the AVRCP Controller 577 role over Bluetooth BR/EDR. 578 579config BT_AVRCP_CT_COVER_ART_GET_IMAGE 580 bool "Bluetooth AVRCP Controller Cover Art Get Image support [EXPERIMENTAL]" 581 select EXPERIMENTAL 582 select BT_BIP 583 select BT_AVRCP_CT_COVER_ART 584 depends on BT_AVRCP_CONTROLLER 585 help 586 This option enables support for Cover Art Get Image in the AVRCP Controller 587 role over Bluetooth BR/EDR. 588 589config BT_AVRCP_CT_COVER_ART_GET_LINKED_THUMBNAIL 590 bool "Bluetooth AVRCP Controller Cover Art Get Linked Thumbnail support [EXPERIMENTAL]" 591 select EXPERIMENTAL 592 select BT_BIP 593 select BT_AVRCP_CT_COVER_ART 594 depends on BT_AVRCP_CONTROLLER 595 help 596 This option enables support for Cover Art Get Linked Thumbnail in the AVRCP Controller 597 role over Bluetooth BR/EDR. 598 599endif # BT_AVRCP 600 601config BT_DID 602 bool "Bluetooth DID Profile [EXPERIMENTAL]" 603 select EXPERIMENTAL 604 help 605 This option enables the DID profile 606 607if BT_DID 608config BT_DEVICE_VEDNOR_ID 609 hex "Bluetooth Device Vendor ID" 610 range 0x0000 $(UINT16_MAX) 611 default 0x0000 612 help 613 This option sets the device vendor id 614 615config BT_DEVICE_PRODUCT_ID 616 hex "Bluetooth Device Product ID" 617 range 0x0000 $(UINT16_MAX) 618 default 0x0000 619 help 620 This option sets the device product id 621 622config BT_DEVICE_VERSION 623 hex "Bluetooth Device Version" 624 range 0x0000 $(UINT16_MAX) 625 default 0x0000 626 help 627 This option sets the device version 628 629endif # BT_DID 630 631config BT_PAGE_TIMEOUT 632 hex "Bluetooth Page Timeout" 633 default 0x2000 634 range 0x0001 0xffff 635 help 636 This option sets the page timeout value. Value is selected as 637 (N * 0.625) ms. 638 639config BT_COD 640 hex "Bluetooth Class of Device(CoD)" 641 default 0 642 help 643 This option sets the class of device.For the list of possible values please 644 consult the following link: 645 https://www.bluetooth.com/specifications/assigned-numbers 646 647config BT_DEFAULT_ROLE_SWITCH_ENABLE 648 bool "Default Bluetooth Role Switch Enable/Disable State" 649 help 650 This option sets the controller's default link policy to 651 enable/disable the role switch. 652 653config BT_POWER_MODE_CONTROL 654 bool "Bluetooth Power Mode Control(Active/Sniff)" 655 help 656 This option enables the power mode control feature. This feature 657 allows the application to control the power mode of the Bluetooth 658 controller. 659 660config BT_GOEP 661 bool "Bluetooth GOEP Profile [EXPERIMENTAL]" 662 select BT_RFCOMM 663 select BT_L2CAP_ENH_RET 664 select EXPERIMENTAL 665 help 666 This option enables the GOEP profile 667 668if BT_GOEP 669config BT_GOEP_RFCOMM_MTU 670 int "RFCOMM MTU for GOEP" 671 default BT_RFCOMM_L2CAP_MTU 672 # For GOEP over RFCOMM, including, 673 # 255 bytes - the minimum MTU of GOEP, 674 # 4 bytes - L2CAP Header, 675 # 5 bytes - 4 bytes for RFCOMM header with extended length, 1 byte for FCS. 676 range 264 BT_RFCOMM_L2CAP_MTU 677 help 678 Maximum size of RFCOMM MTU for GOEP. 679 RX MTU will be truncated to account for ACL data and type overhead, the L2CAP PDU header, 680 and the RFCOMM header. 681 682config BT_GOEP_L2CAP_MTU 683 int "L2CAP MTU for GOEP" 684 default BT_BUF_ACL_RX_SIZE 685 # For GOEP over L2CAP, including, 686 # 255 bytes - the minimum MTU of GOEP, 687 # 4 bytes - L2CAP Header, 688 range 259 BT_BUF_ACL_RX_SIZE 689 help 690 Maximum size of L2CAP MTU for GOEP. 691 RX MTU will be truncated to account for ACL data and type overhead, and the L2CAP PDU 692 header. 693 694config BT_OEBX_RSP_CODE_TO_STR 695 bool "Print OBEX response code as strings" 696 help 697 This configuration enables printing of OBEX response 698 codes represented as strings. 699 See bt_obex_rsp_code_to_str() for more details. 700 701endif # BT_GOEP 702 703config BT_BIP 704 bool "Bluetooth BIP Profile [EXPERIMENTAL]" 705 select BT_GOEP 706 select EXPERIMENTAL 707 help 708 This option enables the BIP profile 709 710endif # BT_CLASSIC 711 712endmenu 713