Anonymous
Not applicable
Jun 18, 2015
02:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2015
02:09 PM
I've created a characteristic that has the "Write" checkbox checked under it's properties. However, using an app I downloaded to write to a characteristic, the value I want to change it to won't be written. Is there any C code that needs to be implemented?
Solved! Go to Solution.
Labels
1 Solution
Jun 19, 2015
12:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 19, 2015
12:46 PM
IDK, I had those permissions before, but after looking at some sample code I ended up using these props/permissions:
LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_WRITE
LEGATTDB_PERM_VARIABLE_LENGTH | LEGATTDB_PERM_READABLE | LEGATTDB_PERM_WRITE_CMD | LEGATTDB_PERM_WRITE_REQ | LEGATTDB_PERM_RELIABLE_WRITE
And it started writing correctly. I think I was missing the Variable Length permission and that was causing it not to work.
4 Replies