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/host: Optimize characteristics discovery #1885

Merged

Commits on Oct 9, 2024

  1. nimble/host: Optimize characteristics discovery

    We can stop characteristics discovery as soon as there are less than 2
    attributes left. This means if last characteristic has descriptor (e.g.
    CCC) we will save single ATT_READ_BY_TYPE_REQ/RSP transaction.
    
    As a side-effect we also resume discovery starting from the next handle
    after last characteristic value handle instead of characteristic
    declaration handle, but this is ok since there cannot be any atrtibutes
    (so also characteristic declarations) between characteristic declaration
    and characteristic value.
    andrzej-kaczmarek committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d8b287b View commit details
    Browse the repository at this point in the history