@Gordon I think I've found an adafruit example that I might be able to use as documentation, except I think I need to know where the bit flags for the setServices properties are set.
For example, if I have broadcast: true, notify: true, where are those flags in C? What's the value of the GATT property? (I think…)
I've been poking around the C files, but I'm not familiar with the code at all.
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.
@Gordon I think I've found an adafruit example that I might be able to use as documentation, except I think I need to know where the bit flags for the
setServices
properties are set.For example, if I have
broadcast: true, notify: true
, where are those flags in C? What's the value of the GATT property? (I think…)I've been poking around the C files, but I'm not familiar with the code at all.