Looking at this:
AT+GATTADDCHAR=UUID=0x2A37, PROPERTIES=0x10, MIN_LEN=2, MAX_LEN=3, VALUE=00-40
I'm not 100% sure how to represent the value 00-40 in a way that the puck will understand. Would I give it hex? Is this something else?
00-40
I'm guessing that properties is one of the flags like readable, notify, etc - but not sure which. Is this the same as [0x00, 0x40]? Any ideas?
readable
notify
[0x00, 0x40]
@remy started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looking at this:
I'm not 100% sure how to represent the value
00-40
in a way that the puck will understand. Would I give it hex? Is this something else?I'm guessing that properties is one of the flags like
readable
,notify
, etc - but not sure which. Is this the same as[0x00, 0x40]
? Any ideas?