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

[Bug]: CharacteristicExtensions.GetAllCharacteristics returns only characteristics of the latest found service #1420

Closed
8 of 10 tasks
RobinNunkesser opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something isn't working unverified This issue has not been verified by a maintainer

Comments

@RobinNunkesser
Copy link

Component/Nuget

BluetoothLE Client (Shiny.BluetoothLE)

What operating system(s) are effected?

  • iOS (13+ supported)
  • Mac Catalyst
  • Android (8+ supported)

Version(s) of Operation Systems

macOS 14.2.1
iOS 17.2
Should also not work on Android

Hosting Model

  • MAUI
  • Native/Classic Xamarin
  • Manual

Steps To Reproduce

  1. Search for characteristics on a BLE device with more than one service

Expected Behavior

All characteristics should be delivered

Actual Behavior

Only the characteristics of the last found service will be delivered.

Problem should be solved when the .Switch() in CharacteristicExtensions.GetAllCharacteristics is replaced by .Concat()
The Problem is also connected with the method AsyncExtensions.GetCharacteristicsAsync which does not do what the signature suggests (serviceUuid is not used.)

Exception or Log output

No response

Code Sample

This bug also occurs in the shiny samples if a BLE device with more than one service is used.

Code of Conduct

  • I have supplied a reproducible sample that is NOT FROM THE SHINY SAMPLES!
  • I am a Sponsor OR I am using the LATEST stable/beta version from nuget (v3.0 stable - ALPHAS are not taking issues - Sponsors can still send v2 issues)
  • I am Sponsor OR My GitHub account is 30+ days old
  • I understand that if I am checking these boxes and I am not actually following what they are saying, I will be removed from this repository!
@RobinNunkesser RobinNunkesser added bug Something isn't working unverified This issue has not been verified by a maintainer labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant