Hi,
When creating and adding an characteristic to service, what the meaning and difference between these two variables:
attr_char_value.init_len
attr_char_value.max_len
To give context, my aim is to write a value of variable length to a characteristic. I have set the variable vlen
to one as it was zero
attr_md.vlen = 1; // = 0;