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

Receiving extended scans on an Adafruit nRF 52840 #31079

Closed
StevenGhe opened this issue Jan 3, 2021 · 2 comments
Closed

Receiving extended scans on an Adafruit nRF 52840 #31079

StevenGhe opened this issue Jan 3, 2021 · 2 comments
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@StevenGhe
Copy link

Describe the bug
A clear and concise description of what the bug is.
The "bt_le_scan_start" method fails with error -5, when using extended advertisements (CONFIG_BT_EXT_ADV).
After investigating I've found the error " bt_hci_core: opcode 0x2041 status 0x01". This comes from hci_core.c, line 341, It returns an IO error. Not too sure what could be wrong with IO?

What have you tried to diagnose or workaround this issue?
I've ran the sample sync_adv with the same error.
CONFIG_BT_EXT_ADV disabling solves the issue but won't scan extended advertisements obviously.
Tried with different Adafruit feather, same result.

To Reproduce
Steps to reproduce the behavior:
Since the error happens on the sample as well, run the sample bluetooth > periodic_sync.
Issue isn't related with any periodic advertising. Only starting the extended scanner.

Expected behavior
A clear and concise description of what you expected to happen.
Same behaviour as starting it without extended advertisements: Callbacks being invoked on each scan.

Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Blocker. Have a deadline to work with new Bluetooth features (ext advertisements)

Logs and console output
image

Environment (please complete the following information):

  • OS: Win 10
  • Toolchain Zephyr SDK
  • newest version 2.4, 1e61d3e
@StevenGhe StevenGhe added the bug The issue is a bug, or the PR is fixing a bug label Jan 3, 2021
@cvinayak
Copy link
Contributor

cvinayak commented Jan 4, 2021

@StevenGhe
Copy link
Author

I did not. This fixed it for me!
I didn't knew there weren't any board specific config's...

You just saved me a from a lot of frustration. :)

Tyvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants