Hi Johan,
2011/12/2 Johan Hedberg [off-list ref]:
Hi Santiago,
On Tue, Nov 22, 2011, Santiago Carot-Nemesio wrote:
quoted
+ atval[0] = 0x02;
+ atval[1] = 0x00;
What are these magic values? Could we have some defines for them or
something else more readable?
These are GATT flags to enable/disable indications/notifications in
client characteristic configuration descriptor, I thought about this
issue, I haven't seen any macros mapping those values in GATT though.
I was thinking in sending a separate patch to deal with this issue but
I saw some Claudio's commits to deal with notification/indications so
I guess he is already working on it, so I decided no to interfere and
wait to see how he is thinking to deal with this stuff.
Regards.