-
Notifications
You must be signed in to change notification settings - Fork 733
bluetooth: host: Add Shorter Connection Intervals support #3513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
weeTike
wants to merge
10
commits into
nrfconnect:main
Choose a base branch
from
weeTike:sci_host_downstream
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,078
−397
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>
f11c7d6 to
c30cdb5
Compare
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>
c30cdb5 to
68107d8
Compare
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>
68107d8 to
a37e8b0
Compare
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>
a37e8b0 to
cfbf9f2
Compare
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>
cfbf9f2 to
81f97c3
Compare
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>
81f97c3 to
6279845
Compare
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>
6279845 to
c0a647a
Compare
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>
c0a647a to
1088304
Compare
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>
1088304 to
a45a7c0
Compare
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>
a45a7c0 to
1b5695a
Compare
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>
1b5695a to
812279b
Compare
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>
Contributor
Author
812279b to
9414316
Compare
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
Manifest PR for nrfconnect/sdk-zephyr#3513 Manifest PR for https://github.com/memfault/memfault-firmware-sdk/releases/tag/1.31.0 Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
weeTike
added a commit
to weeTike/sdk-nrf
that referenced
this pull request
Nov 24, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513 Manifest PR for https://github.com/memfault/memfault-firmware-sdk/releases/tag/1.31.0 Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
…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)
9414316 to
394b00b
Compare
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>
sean-madigan
approved these changes
Nov 24, 2025
weeTike
added a commit
to weeTike/sdk-nrf
that referenced
this pull request
Nov 24, 2025
Manifest PR for nrfconnect/sdk-zephyr#3513 Manifest PR for https://github.com/memfault/memfault-firmware-sdk/releases/tag/1.31.0 Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
HaavardRei
approved these changes
Nov 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[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.