Hello,
I am developing a device with a nrf52 using s140 with the last sdk. The objective is to interact through ble with other devices that have different custom services. I have already implemented the central role, scan the devices and connect to them. But here is where I am a bit lost, I do not know which are the steps to follow to, for example, read one of the characteristics of the custom services in the peripheral devices. I guess I should use
sd_ble_gattc_read(uint16_t conn_handle, uint16_t handle, uint16_t offset)
But I do not how to retrieve the "handle" parameter. Again I guess I should use the discovery module but I do not know how to use it to relate the UUID of the characteristics with the "handle" parameter.
What are the steps to get the "handle" parameter related with a UUID characteristic?
My goal is to implement a wrap functions that read/write characteristics with a given UUID.
Thanks,

