Bluetooth, define descriptors for characteristics ? #6792
Replies: 1 comment
-
Posted at 2017-11-15 by @gfwilliams As I understand it (I could be wrong!): A characteristic on a device has a handle - it's basically a number (a byte value?) which is the index of the characteristic in that device. Then there's the So Espruino stores those two as I'm not sure about the others if I'm honest, but I think you could probably ignore them safely for now. Posted at 2017-11-16 by JumJum Well, the only thing I know is, in a sample there is this:
Found some more information in O'REILLY Getting started with Bluetooth Low Energy. Posted at 2017-11-17 by @gfwilliams
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-11-15 by JumJum
Bluetooth supports descriptors for characteristics.
In bluetooth.c for nrf is this:
char_md.p_char_pf = NULL;
char_md.p_user_desc_md = NULL;
char_md.p_cccd_md = NULL;
char_md.p_sccd_md = NULL;
I can't find a way where they are used.
Can descriptors be defined in javascript ?
If yes,is this the right place to search for descriptors ?
Beta Was this translation helpful? Give feedback.
All reactions