Skip to content

multiple issues with the BluetoothLE->cppwinrt sample #1341

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

Closed
jshroff opened this issue Mar 3, 2022 · 1 comment
Closed

multiple issues with the BluetoothLE->cppwinrt sample #1341

jshroff opened this issue Mar 3, 2022 · 1 comment

Comments

@jshroff
Copy link

jshroff commented Mar 3, 2022

  1. It seems we need to reference DeviceCapability Name="bluetooth" in the Package.appxmanifest
  2. CharacteristicList_SelectionChanged() references serviceList so it crashes the app

Does microsoft even test these samples before releasing??

@oldnewthing
Copy link
Member

oldnewthing commented May 25, 2022

Sorry. I just cranked through and translated them from C# to C++/WinRT. I am not a subject matter expert. I just did a blind translation of the C# sample written by the BT team. Fix is available in ad9a0c4 v13.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants