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

Bluetooth: Controller: Implement LE Set Extended Advertising Paramete… #19662

Conversation

Thomas-Deppe
Copy link
Contributor

@Thomas-Deppe Thomas-Deppe commented Dec 19, 2024

…rs v2 command

Implement LE Set Extended Advertising Parameters [v2] command as per Bluetooth spec v6.0 (Vol 4 Part E Section 7.8.53). Advertising Coding Selection is marked as supported.

@Thomas-Deppe Thomas-Deppe requested a review from a team as a code owner December 19, 2024 14:29
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 19, 2024
@Thomas-Deppe Thomas-Deppe force-pushed the implement_set_extended_advertising_parameters_v2 branch from 1302b94 to d7426e7 Compare December 19, 2024 14:32
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Dec 19, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 6

Inputs:

Sources:

sdk-nrf: PR head: 42d10f3086a059a317f529f0c8c19bdb562270b4

more details

sdk-nrf:

PR head: 42d10f3086a059a317f529f0c8c19bdb562270b4
merge base: 84ec4da2bfb18ecc3a6adffb4ae67cb520634e04
target head (main): 84ec4da2bfb18ecc3a6adffb4ae67cb520634e04
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (1)
subsys
│  ├── bluetooth
│  │  ├── controller
│  │  │  │ hci_internal.c

Outputs:

Toolchain

Version: b77d8c1312
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:b77d8c1312_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 984
  • ✅ Integration tests
    • ✅ desktop52_verification
    • ✅ test_ble_nrf_config
    • ✅ test-fw-nrfconnect-ble_samples
    • ✅ test-fw-nrfconnect-chip
    • ✅ test-fw-nrfconnect-zigbee
    • ✅ test-sdk-find-my
    • ✅ test-sdk-sidewalk
Disabled integration tests
    • doc-internal
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@@ -762,6 +764,7 @@ void hci_internal_le_supported_features(

#ifdef CONFIG_BT_CTLR_ADV_EXT
features->params.le_extended_advertising = 1;
features->params.advertising_coding_selection = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the feature bit set no matter if coded phy is enabled?

Copy link
Contributor Author

@Thomas-Deppe Thomas-Deppe Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can change this, my mistake. Do I need to do the same in the #ifdef above this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We support the API independent of the support of coded phy. If coded PHY is not supported will will just not transmit on the particular coding scheme, and also not raise reports with Coded PHY

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then we can keep it as is

@Thomas-Deppe Thomas-Deppe force-pushed the implement_set_extended_advertising_parameters_v2 branch 2 times, most recently from ec177f0 to b8de38b Compare December 19, 2024 15:09
@Thomas-Deppe Thomas-Deppe force-pushed the implement_set_extended_advertising_parameters_v2 branch from b8de38b to 8d6b698 Compare December 20, 2024 07:17
Implement LE Set Extended Advertising Parameters [v2] command as per
bluetooth spec v6.0 (Vol 4 Part E Section 7.8.53).
Advertising Coding Selection is marked as supported.

Signed-off-by: Thomas Deppe <[email protected]>
@Thomas-Deppe Thomas-Deppe force-pushed the implement_set_extended_advertising_parameters_v2 branch from 8d6b698 to 42d10f3 Compare December 20, 2024 07:18
@rugeGerritsen rugeGerritsen merged commit dee077d into nrfconnect:main Dec 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants