feat: 添加蓝牙多槽位绑定支持模块

- 新增 ble_bond_multi_module.c 实现多槽位蓝牙绑定管理功能
- 添加 ble_bond_multi_event 事件系统支持槽位状态广播
- 在 CMakeLists.txt 中注册新模块和事件源文件
- 更新 Kconfig 配置添加 BLINKY_BLE_BOND_MULTI 选项
- 修改 prj.conf 配置支持 4 个配对设备和 5 个身份标识
- 关闭默认 CAF ble_bond 模块使用自定义实现
- 更新 ui_settings_controller.h 接口支持槽位元数据设置
- 在 display_module.c 中添加事件订阅刷新UI显示
- 编写详细的设计文档 ble_multi_slot_design.md
This commit is contained in:
2026-04-25 15:40:49 +08:00
parent 3971d7c4b2
commit 54c5f76c84
12 changed files with 1291 additions and 28 deletions

15
Kconfig
View File

@@ -2,6 +2,21 @@ mainmenu "blinky"
source "Kconfig.zephyr"
menu "Application"
config BLINKY_BLE_BOND_MULTI
bool "Blinky BLE multi-slot bond support"
depends on BT_BONDABLE
depends on BT_SETTINGS
depends on CAF_SETTINGS_LOADER
depends on CAF_BLE_COMMON_EVENTS
select CAF_BLE_BOND_SUPPORTED
default y
help
Enable the application-specific Bluetooth LE multi-slot bond module.
endmenu
menu "Application Drivers"
rsource "drivers/Kconfig"
endmenu