GattServiceProvider.StartAdvertising fails : Bluetooth device issue?

1

I'm trying to publish a GATT Server following this tutorial :

https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/gatt-server

The code fails on my Asus Zenbook with onboard bluetooth 4.0 :

System.Runtime.InteropServices.COMException (0x8007013C) : Bluetooth device doesnt support peripheral role

which is confirmed by this call :

BluetoothAdapter bta = await BluetoothAdapter.GetDefaultAsync(); bta.IsPeripheralRoleSupported is set to false

Do you think it is a driver issue, API issue or missing hardware feature ?

Somebody knows a bluetooth LE dongle I could manage with the new .Net API ?

I already bought a Bluegiga BLE dongle and it doesn't seem compatible...

c#
bluetooth-gatt
windows-creators
asked on Stack Overflow Feb 23, 2018 by Chronogps

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0