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

Adjust implementation for async connect method #8

Merged
merged 7 commits into from
Jul 24, 2024

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Jul 23, 2024

Adjust implementation for async connect method

♻️ Current situation & Problem

The latest beta release of SpeziBluetooth changed the peripherals connect method to be async throws allowing use to await till the device is fully connected and propagating any connection errors. This requires some slight modifications to SpeziDevices resolved with this PR.

⚙️ Release Notes

  • Update to SpeziBluetooth 3.0 Beta 2

📚 Documentation

--

✅ Testing

Verified against existing test suite.

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@Supereg Supereg requested a review from PSchmiedmayer July 23, 2024 12:03
Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job; that looks great!

@PSchmiedmayer PSchmiedmayer added the enhancement New feature or request label Jul 23, 2024
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 14 lines in your changes missing coverage. Please review.

Project coverage is 84.09%. Comparing base (ac008a4) to head (bb80976).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   84.42%   84.09%   -0.33%     
==========================================
  Files          55       55              
  Lines        2824     2853      +29     
==========================================
+ Hits         2384     2399      +15     
- Misses        440      454      +14     
Files Coverage Δ
Sources/SpeziDevices/PairedDevices.swift 74.74% <66.67%> (-1.48%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac008a4...bb80976. Read the comment docs.

@Supereg Supereg merged commit 6fc18b2 into main Jul 24, 2024
12 checks passed
@Supereg Supereg deleted the feature/bluetooth-3.0-beta.2 branch July 24, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants