Skip to content

samples: bluetooth: HID SCI support in central_hids#4

Closed
ahasztag wants to merge 37 commits into
NCSDK-38856_hid_sci_libsfrom
NCSDK-38856_hid_samples_sci_central
Closed

samples: bluetooth: HID SCI support in central_hids#4
ahasztag wants to merge 37 commits into
NCSDK-38856_hid_sci_libsfrom
NCSDK-38856_hid_samples_sci_central

Conversation

@ahasztag
Copy link
Copy Markdown
Owner

This commit adds usage of the HID SCI feature in the central_hids sample.

nordic-piks and others added 9 commits May 21, 2026 09:25
More failures.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
TFM not supported yet.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
Replace `CONFIG_NET_IPV6_NBR_CACHE=n` and `CONFIG_NET_IPV6_MLD=n` with
`CONFIG_NET_IPV6=n` on all nRF91 and Thingy91 board configs to fully
disable IPv6 rather than only disabling DAD workarounds.

The server sample does not currently work properly with
Ipv6 enabled on cellular targets.

Update TLS credential generation docs to include `-subj` and `-addext`
flags so the certificate CN and SAN match the device's static IP,
fixing certificate validation failures for cellular builds.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Replace `CONFIG_TFM_PROFILE_TYPE_MINIMAL` with
`CONFIG_TFM_PROFILE_TYPE_SMALL` and add explicit partition size
configs for TF-M SRAM and flash across all nRF91 board configs.

Without this, the TF-M partition sizes are too small
to fit the TLS server.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Add neccessary overlay and testcase.yaml entries.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
Add neccessary overlay and testcase.yaml entries.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
Add neccessary overlay and testcase.yaml entries.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
Add neccessary overlay and testcase.yaml entries.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
Only request Ipv6 address if CONFIG_NET_IPV6 is enabled.
This fixes a possible buffer overflow where neighboring memory
could be overwritten by IPv6 address if CONFIG_NET_IPV6 was not
enabled, but DNS request responded with an IPv6 address.

Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
The TLS configuration for native_sim target is currently broken, it
fails to parse the certificate used in the sample:

  net_sock_tls: Failed to parse certificate on tag 42, err: -0x3a00

That's because CONFIG_PSA_WANT_ECC_SECP_R1_384 was missing and the
certificate uses this curve. The remaining configs added were needed to
pass the handshake with the default example.com host.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@ahasztag ahasztag force-pushed the NCSDK-38856_hid_samples_sci_central branch from cd52a5c to d7c9a28 Compare May 21, 2026 08:59
NordicBuilder and others added 10 commits May 21, 2026 11:10
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4075

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>

lib: nrf_modem_lib: SO_POLLCB support

Implement SO_POLLCB in the offloading layer. Only one callback may be
set per socket. If poll() is called on a socket with SO_POLLCB, the
poll callback gets overwritten.

Signed-off-by: Kacper Radoszewski <kacper.radoszewski@nordicsemi.no>
New theme changes

Signed-off-by: Uma Praseeda <uma.praseeda@nordicsemi.no>
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4072

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
nRF9251 has PPR core and this patch adds support to build for it.

Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
This command is unused by Zephyr host. Removing it saves NVM size.
Applications that call into HCI directly can enable this config.
Temporarily enable the config if the host used is unknown.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This command is unused by Zephyr host. Removing it saves NVM size.
Applications that call into HCI directly can enable this config.
Temporarily enable the config if the host used is unknown.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This seems to have been missed. If controller crypto is not enabled
there is no expectation that the encryption HCI commands work.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
Removing them saves NVM size. Applications that call into HCI
directly can enable this config.
Temporarily enable the config if the host used is unknown.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
In configurations where the Zephyr host doesnt call the
LE Rand HCI command we can remove it and save some space.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
Some HCI commands have been moved behind kconfig options.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
@ahasztag ahasztag force-pushed the NCSDK-38856_hid_samples_sci_central branch from d7c9a28 to 00f0a4d Compare May 21, 2026 11:01
MarekPorwisz and others added 5 commits May 21, 2026 13:36
Added support for more detailed RPC error info to the
protocol_serialization sample.
Updated protocols rpc implementation not to loose the file/line/function
info due to the usage of a common error reporting function.

Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>
For samples which add a button handler for sample-specific
functionality, this will run in parallell with the OOB button handler
during OOB input. This affects two samples which print or log an error
when buttons are pressed when the node is unprovisioned, which will be
printed on every button press during input OOB, which is noisy. This
print/log has been removed for these samples (light_dimmer and
sensor_server), which is aligned with the silent handling of
unprovisioned nodes already done in the light_switch and sensor_client
samples.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

"reserved-memory" node must be placed under root node.

Fix overlays for all platforms.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
nordic-segl and others added 12 commits May 21, 2026 14:29
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

"reserved-memory" node must be placed under root node.

Fix overlays for all platforms.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

"reserved-memory" node must be placed under root node.

Fix overlays for all platforms.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

"reserved-memory" node must be placed under root node.

Fix overlays for all platforms.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Property "ranges" is required for "reserved-memory" node.
Set it unless already done at the board definition level.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
"reserved-memory" node must be placed under root node.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Temp revert PR for theme

Signed-off-by: Uma Praseeda <uma.praseeda@nordicsemi.no>
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4076

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-connectedhomeip#721

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
Add support for HID Shorter Connection Intervals on the HID device side.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
Add support for HID Shorter Connection Intervals on the HID host side.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
This commit adds usage of the HID SCI feature in the
central_hids sample.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
@ahasztag ahasztag force-pushed the NCSDK-38856_hid_samples_sci_central branch from 00f0a4d to e4470cf Compare May 21, 2026 14:21
@ahasztag ahasztag closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.