Hello, I have a question about the bt_gatt_read function. I want to read the attribute value through the UUID of the attribute. I am using NCS V1.4.2.Can you please tell me how to use it correctly in the code?
I can use this function to read values through the handle.
.offset = 0;
.handle= 44,
I see bt_gatt_read_params handle (If equals to 0 by_uuid is used for Read Using Characteristic UUID.)
I know the UUID of the attribute (0xFFF9), but I cannot obtain the attribute value using this method. Why? Did I make a mistake in writing somewhere? How should the correct code be written?