zephyr/samples
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
..
application_development samples: code_relocation_nocopy: Add configuration for nRF54H20 DK 2025-03-07 19:42:46 +01:00
arch samples: smp: pi: keep main thread sleeping until ready 2025-03-07 19:46:43 +01:00
basic samples: blinky: add esp32s3_supermini overlay 2025-02-14 17:08:03 +01:00
bluetooth Bluetooth: BR: Support limited discoverable mode 2025-03-07 19:46:53 +01:00
boards samples: boards: renesas: Add OpenAMP sample for RZ/G3S-SMARC 2025-03-07 19:45:30 +01:00
cpp doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
drivers samples|tests: drivers: flash: Add support for "jedec,mspi-nor" devices 2025-03-07 19:42:46 +01:00
fuel_gauge doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
hello_world samples: hello_world: set minimum flash requirement to 16K 2025-03-04 17:28:33 +01:00
kernel samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
modules samples/*/lvgl: Remove native_posix overlays 2025-03-07 19:16:14 +01:00
net samples/net: Remove native_posix overlays 2025-03-07 19:16:14 +01:00
philosophers samples: doc: convert philosophers sample to code-sample directive 2024-09-23 12:00:00 +02:00
posix boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
psa tests: secure_storage: add dependencies 2025-02-27 09:07:56 +00:00
sensor sample: vl53l0x: make sample testable 2025-03-07 19:41:04 +01:00
shields samples/shields: x-nucleo-iks4a1: Add lis2dux12 accel and temp test 2024-12-27 19:34:46 +01:00
subsys samples: subsys: lorawan: callback registration for handle descriptor 2025-03-07 19:42:56 +01:00
synchronization
sysbuild samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
tfm_integration samples: tfm_integration: Update regression test dependencies 2025-01-20 11:43:32 +01:00
userspace samples: userspace: prod_consumer: Update API to use DEVICE_API macro 2025-01-24 01:15:19 +01:00
index.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample_definition_and_criteria.rst