- 在 CMakeLists.txt 中添加 swift_pair_module.c 源文件 - 将 BLINKY_BLE_BOND_MULTI 配置项重命名为 BLINKY_BLE_BOND_MULTI_INTERNAL 并移除帮助文本 - 在 prj.conf 中启用 CONFIG_BT_ADV_PROV_SWIFT_PAIR 配置选项 - 新增 swift_pair_module.c 实现 Swift Pair 功能,包括: - 监听蓝牙配对多设备事件和蓝牙对等操作事件 - 根据选中的身份标识控制 Swift Pair 载荷的启用/禁用 - 当设备被选中或擦除时更新 Swift Pair 状态
21 lines
335 B
Plaintext
21 lines
335 B
Plaintext
mainmenu "blinky"
|
|
|
|
source "Kconfig.zephyr"
|
|
|
|
menu "Application"
|
|
|
|
config BLINKY_BLE_BOND_MULTI_INTERNAL
|
|
bool
|
|
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
|
|
|
|
endmenu
|
|
|
|
menu "Application Drivers"
|
|
rsource "drivers/Kconfig"
|
|
endmenu
|