Hello,
I have the following question: when developing a software product, I developed my own service. It consists of one characteristic and several descriptors (valid range / signal frequency / text description, etc ...).
Part descriptor I want to use to configure the device after the connection is established. For this, the descriptor value is available both by writing and by reading.
Now, I want to control the record of the values and when I try to write the incorrect setting (wrong size / out of range), send an error message. I can implement the control, but how do I return a GATT error, such as an invalid size / invalid value?
Thanks,
p.s. I used a Google translator to control the correctness of the translation of my question