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

Release/v0.22.2 #1587

Merged
merged 10 commits into from
Jun 1, 2024
Merged

Release/v0.22.2 #1587

merged 10 commits into from
Jun 1, 2024

Commits on May 12, 2024

  1. backends/winrt: add address acquisition process when advertising data…

    … is None (#1571)
    
    In some situations, device.details has the scan response data only and
    advertising data is None.
    
    Since the ble address cannot be obtained from device.details.adv this time,
    the ble address is obtained from the device.details.scan (scan response data).
    kaz399 authored May 12, 2024
    Configuration menu
    Copy the full SHA
    73d2cb5 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. docs/troubleshooting: section on asynio.run()

    It is quite common for people to report "bugs" in Bleak because they are
    using it wrong. Now we can have a link to give them to explain this in
    detail.
    dlech committed May 15, 2024
    Configuration menu
    Copy the full SHA
    e2a8bd7 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Update uuids.py

    patman15 authored and dlech committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1d9f382 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. Fix UUID doc (#1574)

    patman15 authored May 18, 2024
    Configuration menu
    Copy the full SHA
    d3b1097 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. ---

    updated-dependencies:
    - dependency-name: requests
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and dlech committed May 21, 2024
    Configuration menu
    Copy the full SHA
    b8149a5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. backends: filter discovered devices

    This is a follow-up to a818521 ("backends/scanner: always filter by
    service_uuids") to also filter discovered devices by the service UUIDs.
    
    This was overlooked in that change and on Windows actually caused a
    regression.
    
    Fixes: #1576
    dlech committed May 23, 2024
    Configuration menu
    Copy the full SHA
    75cd779 View commit details
    Browse the repository at this point in the history
  2. Android: fix 'Descriptor None was not found!' (#1580)

    The keys in the descriptor dict are the normalized 128-bit UUID string, so we need to use this to correctly find the descriptor.
    
    Fixes #823
    vabt-igd authored May 23, 2024
    Configuration menu
    Copy the full SHA
    d45ec90 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. backends/winrt: don't throw exception for properly configured GUI apps (

    #1581)
    
    In commit 4a653e6 ("backends/winrt: raise exception when trying to scan
    with STA") we added a check to raise an exception when trying to scan
    when PyWinRT set the apartment model to STA. However, properly working
    GUI apps will have the apartment model set to STA but Bleak will still
    work because there is something pumping the Windows message loop.
    
    We don't want to raise an exception in this case to avoid breaking
    working apps. We can improve the test by checking if the current thread
    is actually pumping the message loop by scheduling a callback via a
    the win32 SetTimeout function. If the callback is called, then we know
    that the message loop is being pumped. If not, then we probably are not
    going to get async callbacks from the WinRT APIs and we raise an
    exception in this case.
    dlech authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    bd8f022 View commit details
    Browse the repository at this point in the history
  2. backends/characteristic: make max_write_without_response_size dynamic (

    …#1586)
    
    It has been observed that the max MTU exchange may not be complete
    before the connection is established, at least on Windows.
    
    This reverts the previous attempt to work around this on Windows and
    instead makes the max_write_without_response_size dynamic. This way
    users can implement a workaround if needed but users who don't need it
    won't be punished with a longer connection time. The timeout in the
    previous workaround was also too short for some devices so it wasn't
    complexly fixing the issue.
    dlech authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    425abb3 View commit details
    Browse the repository at this point in the history
  3. v0.22.2

    dlech committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    c746071 View commit details
    Browse the repository at this point in the history