Windows error 0x80650002, -2140864510

Detailed Error Information

E_BLUETOOTH_ATT_READ_NOT_PERMITTED[1]

MessageThe attribute cannot be read.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

1vote
1answer

Why am I getting "Attribute cannot be read HRESULT : 0x80650002" in C#?

I am getting exception Attribute cannot be read HRESULT : 0x80650002 from the following line:- GattReadResult readResult = await tempMeasurementCharacterisitic[0].ReadValueAsync(); How to solve this problem. I am doing this for HealthThermometer. Characteristic UUID 0x2A1C read more
c#
windows-8.1
bluetooth-lowenergy
gatt

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