This is the documentation for the latest (main) development branch. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Bluetooth: Peripheral SC-only

Overview

Similar to the 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

  • A board with BLE support

Building and Running

examples/bluetooth/peripheral_sc_only

compile, burn, and more, see get-started chapter 。

Running result

I/bt_smp          [0.078] LE SC enabled
I/bt_hci_core     [0.208] No ID address. App must call settings_load()
I/sc_only         [0.214] Bluetooth initialized

I/bt_hci_core     [0.220] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.226] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.234] LMP: version 4.2 (0x08) subver 0x0709
I/sc_only         [0.300] Advertising successfully started