Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: Leo1986 on April 12, 2020, 12:16:45 PM
-
Hello Mike,
Happy Easter. :)
I am trying to get notifications from a BLE device. Yet when I call the Subscribe method, it always errors out with the above error. From what I understand, this happens if the Indicate and Notify properties of the characteristic are both true. However, I can get notifications on various gatt-client android apps just fine. What is happening here? Is there any way to disable this validation or work around it?
Thanks.
-
Hello,
Set one of the property to false before call Subscribe(). Something like this:
Characteristic.Notification = false;
or
Characteristic .Indication = false;
-
Ok, stupid me. I should have checked the characteristic object before posting. Thanks for the quick reply.