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

Add asynchronous client connect and MTU exchange. #746

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 4, 2024

  1. Add asyncronous client connect and MTU exchange.

    * Adds parameters `asyncConnect` and `exchangeMTU` to `NimBLEClient::connect`, default values work as the original connect method.
    * * `asyncConnect`; if true, will send the connect command and return immediately with a true value for successfully sending the command, else false.
    * * `exchangeMTU`; if true will send the exchange MTU command upon connection, otherwise not and the application can choose to do this later via the `exchangeMTU` method.
    * Adds `onMTUChange` callback to `NimBLEClientCallbacks`
    h2zero authored and h2zero committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    e0fd3fd View commit details
    Browse the repository at this point in the history