zephyr/subsys/bluetooth/host/classic
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
..
shell Bluetooth: BR: Support limited discoverable mode 2025-03-07 19:46:53 +01:00
a2dp_codec_sbc.c
a2dp_internal.h
a2dp.c bluetooth: avdtp: move the buf as callback parameter 2025-03-07 19:45:20 +01:00
at.c
at.h
avctp_internal.h Bluetooth: AVRCP: fix bitfield issue. 2024-11-18 13:19:07 -05:00
avctp.c Bluetooth: AVRCP: implementation for passthrough commands 2025-02-14 17:13:23 +01:00
avdtp_internal.h bluetooth: avdtp: move the buf as callback parameter 2025-03-07 19:45:20 +01:00
avdtp.c bluetooth: avdtp: move the buf as callback parameter 2025-03-07 19:45:20 +01:00
avrcp_internal.h Bluetooth: AVRCP: implementation for passthrough commands 2025-02-14 17:13:23 +01:00
avrcp.c Bluetooth: AVRCP: implementation for passthrough commands 2025-02-14 17:13:23 +01:00
br.c Bluetooth: BR: Support limited discoverable mode 2025-03-07 19:46:53 +01:00
br.h
CMakeLists.txt Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00
hfp_ag_internal.h
hfp_ag.c
hfp_hf.c Bluetooth: RFCOMM: Add a argument server to bt_rfcomm_server.accept 2025-01-17 13:54:13 +01:00
hfp_internal.h
Kconfig Bluetooth: BR: Support limited discoverable mode 2025-03-07 19:46:53 +01:00
keys_br.c
l2cap_br_interface.h
l2cap_br_internal.h
l2cap_br.c Bluetooth: Host: Classic: Fix allocated PSM comparison 2025-02-12 02:26:57 +01:00
rfcomm_internal.h Bluetooth: RFCOMM: Move BT_RFCOMM_BUF_SIZE to rfcomm.h 2025-01-17 10:41:49 +01:00
rfcomm.c Bluetooth: RFCOMM: Add a argument server to bt_rfcomm_server.accept 2025-01-17 13:54:13 +01:00
sco_internal.h
sco.c
sdp_internal.h
sdp.c Bluetooth: SDP: Check if frame len is consistent with attr list count 2025-02-14 19:15:02 +00:00
ssp.c Bluetooth: Host: Add type check for bt_conn API 2025-02-11 22:04:51 +01:00
ssp.h