zephyr/samples/bluetooth/peripheral_sc_only
Emil Gydesen 9c2cf4ded5 Bluetooth: Host: Add auth_info_cb struct
Add a new callback structure for Bluetooth authentication

This struct is meant to replace the information-only
callbacks in bt_conn_auth_cb. The reason for this is that
due to the nature of bt_conn_auth_cb, it can only be registered
once. To allow mulitple users gain information about pairing
and bond deletions, this new struct is needed.

Samples, tests, etc. are updated to use the new struct.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2022-03-25 15:17:18 -07:00
..
boards
src Bluetooth: Host: Add auth_info_cb struct 2022-03-25 15:17:18 -07:00
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _peripheral_sc_only:

Bluetooth: Peripheral SC-only
#############################

Overview
********

Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this
application enables the Secure Connections Only mode, i.e. will only
accept connections that are secured using security level 4 (FIPS).


Requirements
************

* BlueZ running on the host, or
* A board with BLE support

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_sc_only`
in the Zephyr tree.

See :ref:`bluetooth samples section <bluetooth-samples>` for details.