I have used DiscCharByUUID to determine the start handle for a characteristic, but I need to modify the client characterist config value. How do I use existing GATT API's to write the value?
GATT_WriteCharValue requires the handle...I have not found a good way to discover the handle
GATT_DiscAllCharDescs requires an end handle but I don't have one since DiscCharByUUID only provides the start handle and the value.
It seems like I need to do:
GATT_DiscAllPrimaryServices and filter to get the start and end handle for the specific service
GATT_DiscAllChars and filter to get the start and end handle for the specific characteristics
GATT_DiscAllCharDescs and filter to match the client characterist config
Would this work?
Is there an easier way?