Windows error 0x8007013C, -2147024580

Detailed Error Information

DEVICE_FEATURE_NOT_SUPPORTED[1]

MessageThe device does not support the command feature.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code316 (0x013c)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x0000013c.

Questions

1vote
0answers

GattServiceProvider.StartAdvertising fails : Bluetooth device issue?

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 [...] read more
c#
bluetooth-gatt
windows-creators

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0