microsoft / Windows-universal-samples

API samples for the Universal Windows Platform.
MIT License
9.49k stars 7.98k forks source link

BluetoothLE sample scenario3 device remains connected after service stopped #1156

Open Changed-Daily opened 4 years ago

Changed-Daily commented 4 years ago

Hi

When running the BluetoothLE sample, "Scenario3_ServerForeground" if a device connects and the service is then stopped by the UWP program the device remains connected. The device also remains connected after closing the UWP program. The connection has to be terminated by the remote device.

How can the device be disconnected by the UWP program?

I am using VS2019 16.3.9 and Windows 1903.

Thanks

oldnewthing commented 4 years ago

This appears to be a question about the platform rather than a question about the sample. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:  

  1. Visit http://aka.ms/storesupport and sign-in with your Microsoft account
  2. Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.
Changed-Daily commented 4 years ago

To be clear, should the sample disconnect the remote device when the service is stopped?

Changed-Daily commented 4 years ago

This is a bug in the sample, please re-open issue.