mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
menu "BLE UART library"
|
|
|
|
config BLE_UART_DEVICE_NAME_PREFIX
|
|
string "BLE device name prefix"
|
|
default "BleUart"
|
|
help
|
|
Default prefix for examples that advertise as `<prefix>-XXXX`
|
|
where XXXX is the last two bytes of the BT MAC in hex.
|
|
Application code may ignore this and set an explicit name in
|
|
ble_uart_config_t.
|
|
|
|
config BLE_UART_RX_SCRATCH_SIZE
|
|
int "RX scratch buffer size (bytes)"
|
|
range 64 16384
|
|
default 1024
|
|
help
|
|
Upper bound on a single RX payload delivered to
|
|
ble_uart_on_rx(). Covers both plain writes (MTU - 3 bytes)
|
|
and reassembled long writes (PREP + EXEC). Oversized writes
|
|
are rejected with ATT error 0x0D.
|
|
|
|
The buffer lives in BSS, so this value directly translates
|
|
into RAM cost. Bump it if your protocol sends larger frames
|
|
in one shot; with the NimBLE backend, raising past ~10 KB
|
|
may also require increasing
|
|
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT.
|
|
|
|
endmenu
|