WARNING! There was an error parsing the document
Hello,
I implemented a Gatt server in my UWP application using this documentation: https://learn.microsoft.com/de-de/windows/uwp/devices-sensors/gatt-server
This allows me to use the Windows PC as a peripheral role for Bluetooth Low Energy devices. Everything works as expected for me and many other users.
The problem is: I get a lot of mails that some users get the following exception.
(Bluetooth is of course supported and the latest drivers are installed. I also tried to check in system settings -> Privacy -> (left below "App permissions“) Other devices if the application is allowed, but without success.)
I don't find any useful documentation on this and have no idea why it does work on some and doesn't for other computers. Does anyone have an idea, why this error occurs and what I can do about it? Thanks in advance.
System.Exception: The device does not support the command feature. (Exception from HRESULT: 0x8007013C)
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at _Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, Void*) + Oxbe at _Interop.ForwardComStubs.Stub_6[TThis, TArgO](__ComObject, TArgO, Int32) + 0x5a at MyApp.Helpers.BluetoothManager.<StartService>d_7.MoveNextO + 0x87f