Skip to content

Bluetooth init procedure with BT_SETTINGS is not reliable #14833

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

Closed
jhedberg opened this issue Mar 22, 2019 · 0 comments · Fixed by #14834
Closed

Bluetooth init procedure with BT_SETTINGS is not reliable #14833

jhedberg opened this issue Mar 22, 2019 · 0 comments · Fixed by #14834
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Milestone

Comments

@jhedberg
Copy link
Member

jhedberg commented Mar 22, 2019

There are several issues with the current init procedure and BT_SETTINGS, which have become apparent from several independent developer reports:

  • It is not clear enough that the application needs to call settings_load()
  • The stack could potentially try to start passive scanning in central role even when it doesn't (yet) have an identity address
  • Several APIs are missing appropriate checks for the BT_DEV_READY flag
@jhedberg jhedberg added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug area: Bluetooth labels Mar 22, 2019
@jhedberg jhedberg added this to the v1.14.0 milestone Mar 22, 2019
@jhedberg jhedberg self-assigned this Mar 22, 2019
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

Successfully merging a pull request may close this issue.

1 participant