2016-08-15 18:01:06 +08:00
|
|
|
if BLUETOOTH_CONTROLLER
|
|
|
|
|
|
|
|
comment "BLE Controller configuration"
|
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_DATA_LENGTH
|
|
|
|
prompt "Maximum data length supported"
|
|
|
|
int
|
|
|
|
default 27
|
|
|
|
range 27 251
|
|
|
|
help
|
2016-11-09 17:37:04 +08:00
|
|
|
Set the maximum data length of PDU supported in the stack.
|
2016-08-15 18:01:06 +08:00
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_RX_BUFFERS
|
|
|
|
prompt "Number of Rx buffers"
|
|
|
|
int
|
2016-11-10 17:30:04 +08:00
|
|
|
default 6 if BLUETOOTH_HCI_RAW
|
2016-08-15 18:01:06 +08:00
|
|
|
default 1
|
|
|
|
range 1 10
|
|
|
|
help
|
2016-11-09 17:37:04 +08:00
|
|
|
Set the number of Rx PDUs to be buffered in the controller.
|
2016-08-15 18:01:06 +08:00
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_TX_BUFFERS
|
|
|
|
prompt "Number of Tx buffers"
|
|
|
|
int
|
2016-11-10 17:30:04 +08:00
|
|
|
default 7 if BLUETOOTH_HCI_RAW
|
2016-08-15 18:01:06 +08:00
|
|
|
default 1
|
|
|
|
range 1 10
|
|
|
|
help
|
2016-11-09 17:37:04 +08:00
|
|
|
Set the number of Tx PDUs to be queued for transmission
|
|
|
|
in the controller.
|
2016-08-15 18:01:06 +08:00
|
|
|
|
2016-09-02 03:34:56 +08:00
|
|
|
config BLUETOOTH_CONTROLLER_RX_STACK_SIZE
|
2016-11-11 16:02:49 +08:00
|
|
|
int "Size of the receiving thread stack"
|
2016-09-02 03:34:56 +08:00
|
|
|
default 256
|
|
|
|
range 256 65536
|
|
|
|
help
|
2016-11-11 16:02:49 +08:00
|
|
|
Size of the receiving thread stack. This is the context from
|
2016-09-02 03:34:56 +08:00
|
|
|
which all radio messages are encoded into HCI events or data
|
2016-11-11 16:02:49 +08:00
|
|
|
before passing it to Bluetooth receiving thread.
|
2016-09-02 03:34:56 +08:00
|
|
|
|
2016-10-31 18:39:12 +08:00
|
|
|
config BLUETOOTH_CONTROLLER_ASSERT_HANDLER
|
|
|
|
bool "Bluetooth Controller Assertion Handler"
|
2016-11-09 18:23:21 +08:00
|
|
|
depends on BLUETOOTH_HCI_RAW
|
2016-10-31 18:39:12 +08:00
|
|
|
help
|
|
|
|
This option enables an application-defined sink for the
|
|
|
|
controller assertion mechanism. This must be defined in
|
|
|
|
application code as void \"bt_controller_assert_handle(char \*, int)\"
|
|
|
|
and will be invoked whenever the controller code encounters
|
|
|
|
an unrecoverable error.
|
|
|
|
|
|
|
|
|
2016-08-15 18:01:06 +08:00
|
|
|
endif # BLUETOOTH_CONTROLLER
|