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: host: smp: Add bondable flag overlay per connection #59992

Merged

Commits on Jul 6, 2023

  1. bluetooth: host: smp: Add bondable flag overlay per connection

    The current API for changing the bondable mode uses the global flag.
    With Zephyr support for multiple Bluetooth identities, the API for
    changing the bondable mode should be more fine-grained.
    The bondable requirements of one identity should not have an impact on
    another identity which can have a different set of requirements.
    This change introduces function to overlay bondable flag per
    connection.
    
    Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
    mkapala-nordic committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    763dc19 View commit details
    Browse the repository at this point in the history
  2. bluetooth: tests: Add bsim test for setting bondable flag per-conn

    Added test for the bt_conn_set_bondable API function.
    Check if we can pair without setting the bonding flag on the
    per-connection basis if the device was already bonded on the
    other identity.
    
    Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
    mkapala-nordic committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f9d86b5 View commit details
    Browse the repository at this point in the history