Writing attribute failed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am trying to write an attribute with 20 bytes.

#define GATT_WRITABLE (LEGATTDB_PERM_VARIABLE_LENGTH |LEGATTDB_PERM_READABLE | LEGATTDB_PERM_WRITE_CMD | LEGATTDB_PERM_WRITE_REQ) CHARACTERISTIC_UUID128_WRITABLE (HANDLE_RX_BUFFER_0_CHARACTERISTIC, HANDLE_RX_BUFFER_0, UUID_RX_BUFFER_0_CHARACTERISTIC, LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_WRITE, GATT_WRITABLE,  20), 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,

i always get the trace output : permission check retCode = 03

Have you any idea what the retCode is? What's my error? Wrong permissions?

0 Likes
1 Solution
Anonymous
Not applicable

Could you share some more information, if it's still an issue?

Ex) Is the result changed by reducing written length?

Have you tried clean before re-build?

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Could you share some more information, if it's still an issue?

Ex) Is the result changed by reducing written length?

Have you tried clean before re-build?

0 Likes