Hi
I am currently working on a BLE based hardware but I am a little confused about the terms such as service, characteristics... etc.
Let's say, I would like to control 2 different IO, an LED or a buzzer, based on received data and this data should include 3 different parameters: pulse_count, pulse_length (milliseconds) and pulse_interval (milliseconds).
For example, I should be able to say "Blink the LED 3 times with 50ms pulse length and 150ms pulse interval" as following:
or "Trigger the buzzer 2 times with 100ms pulse length and 100ms interval" as following:
For the above example, should I create 2 services, one for LED and one for buzzer, with 3 characteristics (pulse_count, pulse_length, pulse interval) ?
or 1 service, 1 characteristic(has string value contians pulse_count, pulse_length, pulse interval data)? Is it advantage or disadvantage about using less or more service??
What is the best approach for handling such a case?
Regards