hi guys, i've a general question about bluetooth (general usage of characteristics), and i hope somebody could give me a hint how to use them properly.
So, i want to communicate with my ble-device. E.g. i want to receive a value corresponding to a key, like "char_get_value(param key)". On the ble-device i "calculate" the value, and send it back to the device which calls the caracteristic. What would be the common way? Have an additional characteristic "char_response" which notifies the device, that the value is ready, and it could read out of response, or should i update the "char_get_value" and send a notification that the characteristic has changed?
Another (similar) design question is, i want to request an action on the ble-device "char_request_action(param action_id)", how would you send an response (OK/ERROR) to the device? Would you use an additional "char_response" characteristics, which the device could bind and will get notified as soon the operation is done?
Would be great if someone could help me! Thanks in advance, Leo