Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/nrf-bm/libraries/bluetooth/peer_manager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ The following code example shows how the Peer Manager is initialized:
.keypress = SEC_PARAM_KEYPRESS,
.io_caps = SEC_PARAM_IO_CAPABILITIES,
.oob = SEC_PARAM_OOB,
.min_key_size = SEC_PARAM_MIN_KEY_SIZE,
.max_key_size = SEC_PARAM_MAX_KEY_SIZE,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
.kdist_peer.enc = 1,
Expand Down Expand Up @@ -226,7 +226,7 @@ The following list shows the required security parameters for common use cases:
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_NONE,
.oob = false,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 0,
.kdist_own.id = 0,
Expand All @@ -245,7 +245,7 @@ The following list shows the required security parameters for common use cases:
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_NONE
.oob = false,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand All @@ -264,7 +264,7 @@ The following list shows the required security parameters for common use cases:
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_KEYBOARD_ONLY,
.oob = false,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand All @@ -283,7 +283,7 @@ The following list shows the required security parameters for common use cases:
.keypress = 0;
.io_caps = BLE_GAP_IO_CAPS_NONE,
.oob = true,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
13 changes: 8 additions & 5 deletions doc/nrf-bm/release_notes/release_notes_changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,15 @@ Peripheral samples
Bluetooth LE samples
--------------------

* Updated the following samples and applications that do not support pairing to call the :c:func:`sd_ble_gatts_sys_attr_set` function only in response to the :c:macro:`BLE_GATTS_EVT_SYS_ATTR_MISSING` event and not as a response to a :c:macro:`BLE_GAP_EVT_CONNECTED` event:
* Updated:

* :ref:`ug_dfu_firmware_loader` (Bluetooth LE)
* :ref:`ble_lbs_sample`
* :ref:`ble_nus_sample`
* :ref:`ble_mcuboot_recovery_entry_sample`
* All samples that use the :ref:`lib_peer_manager` library to use a minimum encryption key size of 16 bytes in their default security parameters.
* The following samples and applications, which do not support pairing, to call the :c:func:`sd_ble_gatts_sys_attr_set` function only in response to the :c:macro:`BLE_GATTS_EVT_SYS_ATTR_MISSING` event, and not in response to the :c:macro:`BLE_GAP_EVT_CONNECTED` event:

* :ref:`ug_dfu_firmware_loader` (Bluetooth LE)
* :ref:`ble_lbs_sample`
* :ref:`ble_nus_sample`
* :ref:`ble_mcuboot_recovery_entry_sample`

* Removed the authentication status logging from the following samples and applications that do not support pairing (do not use the :ref:`lib_peer_manager` library):

Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_bms/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ static uint32_t peer_manager_init(void)
.keypress = 1,
.io_caps = BLE_GAP_IO_CAPS_DISPLAY_YESNO,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_cgms/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_DISPLAY_YESNO,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_hids_keyboard/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_DISPLAY_YESNO,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_hids_mouse/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_DISPLAY_YESNO,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_hrs/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_DISPLAY_ONLY,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/ble_hrs_central/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_NONE,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/peripheral_nfc_pairing/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static uint32_t peer_manager_init(void)
.keypress = 0,
.io_caps = BLE_GAP_IO_CAPS_NONE,
.oob = 0,
.min_key_size = 7,
.min_key_size = 16,
.max_key_size = 16,
.kdist_own.enc = 1,
.kdist_own.id = 1,
Expand Down
Loading