Windows error 0x80650005, -2140864507

Detailed Error Information

E_BLUETOOTH_ATT_INSUFFICIENT_AUTHENTICATION[1]

MessageThe attribute requires authentication before it can be read or written.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode101 (0x065)
NameFACILITY_BLUETOOTH_ATT[1]
Error Code5 (0x0005)

Questions

1vote
1answer

Windows Phone 8.1 - Bluetooth Low Energy and Authentication

I'm having an authentication issue with Bluetooth Low Energy devices with C#. I can connect to the BLE, read from its services, but when I try to write with this function, I get the following error: "The attribute requires authentication before it can be read or written. (Exception from HRESULT: [...] read more
c#
bluetooth
windows-phone-8.1
bluetooth-lowenergy

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