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 method to monitor for state changes #8

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jun 2, 2023

  1. Allow setting authentication details without connection

    Makes it easier to set all parameters upfront, so the actual connection
    can be handled without further input.
    rovo89 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    e7a4f22 View commit details
    Browse the repository at this point in the history
  2. Set device address in NewClient()

    So it is known before the connection is established.
    rovo89 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    739407b View commit details
    Browse the repository at this point in the history
  3. Adjust examples

    rovo89 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    e4727e2 View commit details
    Browse the repository at this point in the history
  4. Add method to monitor for state changes

    Described in:
    https://developer.nuki.io/t/bluetooth-specification-questions/1109/5
    https://developer.nuki.io/t/bluetooth-specification-questions/1109/24
    
    The advertisement contains a flag whether there was any state change.
    This flag is cleared whenever the bridge (= any client paired with
    ClientIdTypeBridge) calls ReadStates().
    rovo89 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    fd95349 View commit details
    Browse the repository at this point in the history