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

[nrf fromtree] Bluetooth: Host: Log when connecting while scanning ma… #2305

Merged
merged 1 commit into from
Nov 28, 2024

Commits on Nov 27, 2024

  1. [nrf fromtree] Bluetooth: Host: Log when connecting while scanning ma…

    …y give bad params
    
    The API documentation already states that the controller may require
    the scan interval and window used for scanning and connection
    establishment to be equal to obtain the best performance.
    
    This commit prints out a warning when this is not the case. The code
    size is unchanged when `CONFIG_BT_SCAN_AND_INITIATE_IN_PARALLEL=n`.
    
    This makes application developers aware that using the parameters
    `BT_LE_SCAN_ACTIVE_CONTINUOUS` with `BT_CONN_LE_CREATE_CONN` may not
    give the best performance.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    (cherry picked from commit 56a22cbccb90a3a56825d07f23ac2d5359fa9289)
    rugeGerritsen committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    fd41aa4 View commit details
    Browse the repository at this point in the history