fix(ble): enforce maximum length for dynamic device name (#2784)

This commit is contained in:
Xudong Zheng
2025-02-26 13:29:30 -05:00
committed by GitHub
parent 2fe55c4c41
commit ea267b0f35
2 changed files with 8 additions and 1 deletions

View File

@@ -238,6 +238,11 @@ config BT_PERIPHERAL_PREF_LATENCY
config BT_PERIPHERAL_PREF_TIMEOUT
default 400
# The device name should be 16 characters or less so it fits within the
# advertising data.
config BT_DEVICE_NAME_MAX
default 16
endif # ZMK_BLE
endmenu # Output Types