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/aioble/examples/temp_sensor.py: Properly notifies on update. #835

Merged
merged 2 commits into from
May 24, 2024

Commits on May 24, 2024

  1. aioble/examples/temp_sensor.py: Properly notify on update.

    This ensures that the peripheral notifies subscribed clients when the
    characteristic is written to.
    
    Signed-off-by: Stephen More <stephen.more@gmail.com>
    mores authored and dpgeorge committed May 24, 2024
    Configuration menu
    Copy the full SHA
    191494e View commit details
    Browse the repository at this point in the history
  2. aioble/examples/temp_sensor.py: Wait forever for client to disconnect.

    This sets the disconnected timeout to None, so that the peripheral waits
    forever for the client to disconnect.  Previously the peripheral would
    abort the connection after 60 seconds (because that's the default timeout).
    
    Signed-off-by: Stephen More <stephen.more@gmail.com>
    mores authored and dpgeorge committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d4362d5 View commit details
    Browse the repository at this point in the history