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

nimble/ll: Add vs hci to set local IRK #1630

Merged
merged 1 commit into from
Oct 26, 2023

Commits on Oct 26, 2023

  1. nimble/ll: Add vs hci to set local IRK

    This adds vendor-specific HCI command to set local IRK in controller.
    IRK can be set for both public and static random addresses separately.
    
    Local IRK, if set, is used to generate local RPA in use cases where own
    address type was set to 0x02 or 0x03 but peer address is not added to
    resolving list. This for example allows to handle initiating connection
    to a new peer using RPA as our local address entirely in LL. Without
    that command it would be required for host to generate an RPA, set it as
    random address and connect using random address. This however doesn't
    work well with NimBLE host.
    
    If no IRK is set (or set to all-zero), the controller behaves as usual
    which makes it safe to enable as it won't break anything.
    andrzej-kaczmarek committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    d706df7 View commit details
    Browse the repository at this point in the history