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

BT Identity address is overwritten when using extended advertising #27582

Closed
Thalley opened this issue Aug 14, 2020 · 1 comment
Closed

BT Identity address is overwritten when using extended advertising #27582

Thalley opened this issue Aug 14, 2020 · 1 comment
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@Thalley
Copy link
Collaborator

Thalley commented Aug 14, 2020

Describe the bug
If attempting to advertise by a random static address by creating an ID and using that ID for extended advertising, the random static address of the ID is overwritten with an NRPA when advertising is started. This when BT host privacy is disabled (CONFIG_BT_PRIVACY=n).

To Reproduce
Steps to reproduce the behavior in the bt shell:

  1. bt id-create ed:a1:a2:a3:a4:ab
  2. bt id-select 1
  3. bt adv-create conn-scan identity name
  4. bt adv-start

Expected behavior
That advertising is using ed:a1:a2:a3:a4:ab as the address.

Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)

Logs and console output

< HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7         #2408 3522.372113
        Advertising handle: 0x00
        Advertising random address: ED:A1:A2:A3:A4:AB (OUI ED-A1-A2)
> HCI Event: Command Complete (0x0e) plen 4                                       #2409 3522.373426
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7         #2410 3523.841970
        Advertising handle: 0x00
        Advertising random address: 0C:7F:C0:08:65:48 (OUI 0C-7F-C0)
> HCI Event: Command Complete (0x0e) plen 4                                       #2411 3523.842528
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)

Environment (please complete the following information):
Commit: 0dc1875

@Thalley Thalley added the bug The issue is a bug, or the PR is fixing a bug label Aug 14, 2020
@Thalley Thalley changed the title Identity address is overwritten when using extended advertising BT Identity address is overwritten when using extended advertising Aug 14, 2020
@MaureenHelm MaureenHelm added the priority: medium Medium impact/importance bug label Aug 18, 2020
@joerchan
Copy link
Contributor

joerchan commented Sep 2, 2020

Closing since this was fixed by #27907

@joerchan joerchan closed this as completed Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants