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: Direction finding samples do not reconnect after disconnection #54341

Closed
cvinayak opened this issue Feb 2, 2023 · 0 comments · Fixed by #54296
Closed
Assignees
Labels
area: Bluetooth Controller area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug Regression Something, which was working, does not anymore
Milestone

Comments

@cvinayak
Copy link
Contributor

cvinayak commented Feb 2, 2023

Describe the bug
Some direction finding tests have started to fail in nRF Connect SDK testing. The issue is investigated and it is happening only with Zephyr Controller which is used as lower tester against SDC upper dut.

The problem is happening even in very simple scenario as

 Connect - Disconnect  - Connect

The second connection is not established at all.

  • It is happening with both roles (peripheral, central)
  • it is happening when DF is enabled (CONFIG_BT_CTLR_DF)
  • it is not happening when SDC is used in both upper and lower
  • it is not happening with babblesim

Derived a simple central-peripheral app from existing DF samples (direction_finding_central/peripheral) in sdk-zephyr in here

To Reproduce
Steps to reproduce the behavior:

  1. Used the modified direction_finding_peripheral sample, to restart advertising on disconnect
  2. mkdir build/direction_finding_central; cd build/direction_finding_central
  3. cmake -DBOARD=nrf52833dk_nrf52833 ../samples/bluetooth/direction_finding_central
  4. ninja
  5. ninja flash
  6. Repeat steps 2 - 5 for direction_finding_peripheral
  7. In a terminal window observe the central establish connection with peripheral
  8. Reset the central and check that central is able to connect back to peripheral which has restarted advertising
  9. Vice versa can be tested by resetting the peripheral and central should connect back.
  10. The failure is, central and peripheral do not connect back after disconnection

Expected behavior
Central and Peripheral shall connect back after disconnection

Impact
showstopper

Logs and console output
TBD

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK
  • Commit SHA: as in the description

Additional context
NA

@cvinayak cvinayak added the bug The issue is a bug, or the PR is fixing a bug label Feb 2, 2023
@cvinayak cvinayak self-assigned this Feb 2, 2023
@cvinayak cvinayak added this to the v3.3.0 milestone Feb 2, 2023
@cvinayak cvinayak added priority: medium Medium impact/importance bug Regression Something, which was working, does not anymore labels Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Controller area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug Regression Something, which was working, does not anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant