Home  >> Developers Forum  >> Btsdk_GATTSetDescriptorValue()

skc

Add new friend

Join Date:2013/12/28

Location: Taiwan

Posts:1

Posted at 2014-01-03 07:23:03
[ Btsdk_GATTSetDescriptorValue() ]

We use the sample code to connect to BLE device, the  GATTGetDescriptorValue() function can get correct descriptor values :

Noti:0, Indi:0

Then we try to set the descriptor value (Notification) through GATTGetDescriptorValue() function, then get error code

2281 (=0x8E9 ) however, I didn't  find that code appear  anywhere in the document. Can anybody help? Thanks 

 


qifei

Add new friend

Join Date:2009/5/26

Location: Czech Republic

Posts:0

Posted at 2014-03-02 19:52:18

The error code is BTSDK_ER_ATT_SMP_FAILED (SMP failed).  The reason is you do not have enough priveledge with the remote device.

Please do the simple pari the device first. Any more probelm, please contact the SDK@bluesoleil.com

poonam

Add new friend

Join Date:2020/2/14

Location: India

Posts:0

ligape

Add new friend

Join Date:2022/4/19

Location: United States of America

Posts:7

Posted at 2022-04-19 20:32:41

NOTE:
1.The reply should be more than 20 characters.
2.Image Size: less than 1MB, max pixel: 300 * 300.