Skip to content

Conversation

@weeTike
Copy link
Contributor

@weeTike weeTike commented Nov 18, 2025

  • [nrf fromtree] bluetooth: host: Add Shorter Connection Intervals support

    This commit adds support for the Shorter Connection Intervals feature to
    the Bluetooth host.

  • [nrf fromtree] bluetooth: host: Change uses of interval to interval_us

    Since Shorter Connection Intervals changes the unit that connection
    intervals can be represented in. It is necessary to change how
    they are stored and represented.

    This commit deprecates interval in favour of interval_us.

    Remove use of interval in internal bt_conn struct since it is no longer
    needed.

  • [nrf fromtree] bluetooth: host: shell: Add SCI shell commands

    This adds support for Shorter Connection Interval commands in the bt
    shell.

NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 18, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike marked this pull request as draft November 18, 2025 16:22
@weeTike weeTike force-pushed the sci_host_downstream branch from f11c7d6 to c30cdb5 Compare November 18, 2025 17:05
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 18, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from c30cdb5 to 68107d8 Compare November 18, 2025 17:11
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 18, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from 68107d8 to a37e8b0 Compare November 19, 2025 15:37
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 19, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from a37e8b0 to cfbf9f2 Compare November 19, 2025 15:39
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 19, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 19, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 19, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 20, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from cfbf9f2 to 81f97c3 Compare November 20, 2025 09:47
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 20, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 20, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from 81f97c3 to 6279845 Compare November 20, 2025 14:11
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 20, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 20, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from 6279845 to c0a647a Compare November 20, 2025 15:42
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 20, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 20, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike marked this pull request as ready for review November 20, 2025 15:43
@weeTike weeTike changed the title Sci host bluetooth: host: Add Shorter Connection Intervals support Nov 20, 2025
@weeTike weeTike force-pushed the sci_host_downstream branch from c0a647a to 1088304 Compare November 20, 2025 16:25
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 20, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 20, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike weeTike added this to the ncs-3.2.0 milestone Nov 21, 2025
@weeTike weeTike force-pushed the sci_host_downstream branch from 1088304 to a45a7c0 Compare November 21, 2025 13:01
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 21, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from a45a7c0 to 1b5695a Compare November 21, 2025 13:06
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 21, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 21, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike weeTike force-pushed the sci_host_downstream branch from 1b5695a to 812279b Compare November 21, 2025 17:46
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 21, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 23, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513
Manifest PR for memfault/memfault-firmware-sdk#97

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike
Copy link
Contributor Author

weeTike commented Nov 24, 2025

Had to pull in a lot of extra commits for the release notes to be conflict free. Many will be merged by #3523 and #3515.

@weeTike weeTike force-pushed the sci_host_downstream branch from 812279b to 9414316 Compare November 24, 2025 13:45
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 24, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 24, 2025
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 24, 2025
zhongzhijie1 and others added 10 commits November 24, 2025 14:53
…ster GATT callbacks

New API bt_gatt_cb_unregister, use _SAFE iteration for callback list.

Signed-off-by: Zhijie Zhong <zhongzhijie1@xiaomi.com>
(cherry picked from commit c222dcf)
This commit deprecates:
- the `CONFIG_BT_SIGNING` Kconfig option
- `BT_GATT_CHRC_AUTH` property

IOW, this commit deprecates the LE Security mode 2 support.

Explanation:

Erratum ES-26047 introduced in Bluetooth Core Specification v6.2
requires SingCounter to be persistently stored to prevent replay
attacks.

Currently, the Host doesn't store SignCounter, therefore the device is
vulnerable to replay attacks after reboot.

Additionally, the current implementation doesn't assume that SignCounter
of a received message can be incremented by more than one and thus may
not validate correct message.

The Bluetooth Security and Privacy Best Practices Guide recommends to
not using Data signing and recommends to use LE Security mode 1 levels
2, 3 or 4 instead.

The Signed Write Without Response sub-procedure, which is the only user
of Data signing, is optional (see Vol 3, Part G, Table 4.1).

See also ES-18901.

The aforementioned reasons make no sense to keep this feature.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
(cherry picked from commit b7b35b8)
…files

Remove duplicated prj.conf file.

prj_6, prj_7, prj_14 are identicall. Since prj_6.conf is unchanged,
keeping it.

prj_8, prj_9, prj_15 are identicall. Since prj_15.conf is
unchanged, keeping it.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
(cherry picked from commit 66679c1)
…elated ICS

This commit removes data signing related ICS.

Removed ICS:
- SM 6/1: Signing Algorithm Generation
- SM 6/2: Signing Algorithm Resolving
- GATT 3/13: Signed Write Without Response
- GATT 9/10: Signed Write Command
- GATT 7/3: LE Security mode 2
- GAP 25/2: LE Security mode 2
- GAP 35/2: LE Security mode 2
- GAP 25/5: Connection data signing procedure
- GAP 35/5: Connection data signing procedure
- GAP 25/6: Authenticate signed data procedure
- GAP 35/6: Authenticate signed data procedure
- GAP 27b/8: Connection Signature Resolving Key (CSRK)
- GAP 37b/8: Connection Signature Resolving Key (CSRK)

The following tests are not supported any longer:
- GAP/SEC/CSIGN/BI-01-C
- GAP/SEC/CSIGN/BI-02-C
- GAP/SEC/CSIGN/BI-03-C
- GAP/SEC/CSIGN/BI-04-C
- GAP/SEC/CSIGN/BV-01-C
- GAP/SEC/CSIGN/BV-02-C
- GATT/CL/GAW/BV-02-C
- SM/CEN/SIGN/BV-01-C

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
(cherry picked from commit 116d4dd)
bt_conn_get_info API is used to retrieve connection-related
information. However, bt_conn_get_info sends the HCI command
BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE to retrieve current
key_size, causing excessive blocking time.

Signed-off-by: Xiang Liu <liuxiang18@xiaomi.com>
(cherry picked from commit 8e9fa6a)
Introduce dedicated helper functions for connection type checking:
- bt_conn_is_br() for BR/EDR connections
- bt_conn_is_le() for LE connections
- bt_conn_is_iso() for ISO connections
- bt_conn_is_sco() for SCO connections

Replace direct conn->type comparisons with these new helper functions
throughout the connection management code. This improves code readability,
maintainability, and provides proper configuration checks for each
connection type.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
(cherry picked from commit 038523c)
This commit adds support for the Shorter Connection Intervals feature to
the Bluetooth host.

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
(cherry picked from commit e2cd247ec4852328b94e1c8c917ca9d33e0cf72d)
Since Shorter Connection Intervals changes the unit that connection
intervals can be represented in. It is necessary to change how
they are stored and represented.

This commit deprecates interval in favour of interval_us.

Remove use of interval in internal bt_conn struct since it is no longer
needed.

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
(cherry picked from commit c14dcaf1995ea9c70b4ce334e4c9765da09eb35d)
This adds support for Shorter Connection Interval commands in the bt
shell.

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
(cherry picked from commit 6bfa6fa9a825f2076ae9a070abb28e09556872ec)
…pace Update

Fix a missing unref of a bt_conn reference, leading to a ref count
mismatch, and causing the following warning to be printed:
bt_conn: Found valid connection ... in disconnected state.

Signed-off-by: Aleksandar Stanoev <aleksandar.stanoev@nordicsemi.no>
(cherry picked from commit 1eea6adad2963a7c889281e7024cc0f01af7e842)
@weeTike weeTike force-pushed the sci_host_downstream branch from 9414316 to 394b00b Compare November 24, 2025 14:53
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 24, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3513

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
weeTike added a commit to weeTike/sdk-nrf that referenced this pull request Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants