GATT insufficient authorization

3 posts / 0 new
Last post
VesaN
Offline
Last seen:5 years 3 months ago
Guru Master
加入:2014-06-26 08:49
GATT insufficient authorization

Hello,

I am creating my own profile and I have one characteristic in my service. However, I fail to read the value of the characteristic and I get GATT error: insufficient authorization.

There is probably something I didn't consider.

I can share the code privately for review.

br, Vesa

WT_Dialog
Offline
Last seen:3 years 1 month ago
工作人员
加入:2013-12-05 14:43
Hi Vesa,

Hi Vesa,

I guss you enabled certain security level in your characteristic. For instance, you characteristic requires bonding before a peer device can read it.

You can paste the code that creates the characteristic in the thread. I can have a look of that.

VesaN
Offline
Last seen:5 years 3 months ago
Guru Master
加入:2014-06-26 08:49
Hello,

Hello,
thanks for the reply

I solved this problem: I was missing PERM(SVC, ENABLE) for the service before going to connected state.

br, Vesa