Skip to content
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

[nrf fromtree] Bluetooth: Shell: Add support for EAD #1575

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

theob-pro
Copy link
Contributor

@theob-pro theob-pro commented Mar 13, 2024

Pull change from the following upstream PR: zephyrproject-rtos/zephyr#69971

PR has been merged, retrieve the following merged commit: 4a55bc0

Add new commands to manage the Encrypted Advertising Data feature.

Overview of those new commands:

- `bt encrypted-ad set-keys`: set key materials (session key and
  initialisation vector) used for encrypted and decryption of EAD;
- `bt encrypted-ad add-ad`: store a given advertising data structure;
- `bt encrypted-ad add-ead`: encrypt the given advertising data
  structres and store the generated AD structure;
- `bt encrypted-ad commit-ad`: set the AD of the selected advertiser
  with the stored AD;
- `bt encrypted-ad clear-ad`: remove all stored AD;
- `bt encrypted-ad decrypt-scan`: decrypt data using the previously set
  key materials when receiving AD with type `0x31`.

The documentation of the Bluetooth Shell has been updated to include
those new commands.

Signed-off-by: Théo Battrel <[email protected]>
(cherry picked from commit 4a55bc0)
@theob-pro theob-pro force-pushed the bring-shell-ead-support branch from 636e31f to f40fdcd Compare March 14, 2024 06:22
@theob-pro theob-pro changed the title [nrf fromlist] Bluetooth: Shell: Add support for EAD [nrf fromtree] Bluetooth: Shell: Add support for EAD Mar 14, 2024
@nordicjm nordicjm merged commit aa2eeb1 into nrfconnect:main Mar 14, 2024
11 checks passed
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.

5 participants