zephyr/subsys/bluetooth/host/classic/shell
Lyle Zhu c0f7aefe55 Bluetooth: BR: Support limited discoverable mode
Add a Kconfig BT_LIMITED_DISCOVERABLE_DURATION to set the timeout for
limited discoverable mode.

Add a argument `limited` to function `bt_br_set_discoverable()` to
support the limited discoverable mode.
When enabling discoverable mode with `limited` is true, both write
LIAC and GIAC to controller and set the bit 13 of COD in function
`bt_br_set_discoverable()`. And start a delay worker with the timeout
CONFIG_BT_LIMITED_DISCOVERABLE_DURATION to disable the discoverable
mode.
When disabling discoverable mode, only set GIAC to controller and
clear bit 13 of COD.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-03-07 19:46:53 +01:00
..
a2dp.c bluetooth: a2dp: optimize bt_a2dp_ep_info 2025-03-07 19:45:20 +01:00
avrcp.c Bluetooth: AVRCP: implementation for passthrough commands 2025-02-14 17:13:23 +01:00
bredr.c Bluetooth: BR: Support limited discoverable mode 2025-03-07 19:46:53 +01:00
CMakeLists.txt
rfcomm.c