1.. zephyr:code-sample:: ble_peripheral_accept_list
2   :name: Peripheral Accept List
3   :relevant-api: bt_conn bt_gatt bluetooth
4
5   Advertise and accept connections only from devices on an accept list.
6
7Overview
8********
9
10This application demonstrates the Bluetooth LE advertising accept filter list feature.
11If no device is bonded to the peripheral, casual advertising will be performed.
12Once a device is bonded, on subsequent boots, connection requests will only be
13accepted if the central device is on the accept list. Additionally, scan response
14data will only be sent to devices that are on the accept list. As a result, some
15BLE central devices (such as Android smartphones) might not display the device
16in the scan results if the central device is not on the accept list.
17
18This sample also provides two Bluetooth LE characteristics. To perform a write, devices need
19to be bonded, while a read can be done immediately after a connection
20(no bonding required).
21
22Requirements
23************
24
25* A board with Bluetooth LE support
26* Second Bluetooth LE device acting as a central. For example another Zephyr board or smartphone
27
28Building and Running
29********************
30
31This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_accept_list` in the
32Zephyr tree.
33
34See :zephyr:code-sample-category:`bluetooth` samples for details.
35