Windows error 0x80650003, -2140864509

Detailed Error Information

E_BLUETOOTH_ATT_WRITE_NOT_PERMITTED[1]

MessageThe attribute cannot be written.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

3votes
1answer

Failed to subscribe to notification characteristic in bluetooth low energy

In my UWP application, I want to connect to a Bluetooth low energy peripheral device and subscribe to its notification characteristic. this is the application Connect method: private async Task Connect(string id) { var device = await BluetoothLEDevice.FromIdAsync(id); var gattService = (await device.GetGattServicesForUuidAsync(Guid.Parse("00002600-005d-0012-00ef-00000000717f"))).Services.FirstOrDefault(); if (gattService != null) { var notificationCharacteristic [...] read more
c#
bluetooth
uwp
bluetooth-lowenergy
1vote
0answers

Windows 10 BLE C#: Subscribing to notifications from the peripheral using cccd fails first time for non-bonded devices

I am trying to develop a WPF app on windows 10 to communicate to a BLE device. I am using advertisement watcher class to scan for new devices. I am expected to authenticate (proprietary) to the device before reading the data. Reading the data happens by subscribing to the client [...] read more
c#
windows
bluetooth-lowenergy
0votes
1answer

How to send array via Bluetooth Low Energy in Windows Desktop APP?

I'm having enormous trouble communicating with my arduino over BLE in my Windows desktop application. I did understand that i have to enable WinRT API in my application to access GATT and to use win 8.1 etc. (I followed this tutorial https://software.intel.com/en-us/articles/using-winrt-apis-from-desktop-applications). I don't understand how to communicate with my [...] read more
c#
bluetooth
windows-runtime
arduino
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