CyBle_GattcDiscoverPrimaryServiceByUuid() function is used by the GATT Client to discover a specific primary service on a GATT Server, to which it is connected, when the Service UUID is known. This function initiates multiple Find By Type Value Requests to peer device and receives Find By Type Value Response from the peer device.
In the client CYBLE_EVT_GATTC_FIND_BY_TYPE_VALUE_RSP event will be received and the event parameter is a pointer to a structure of type CYBLE_GATTC_FIND_BY_TYPE_RSP_PARAM_T. This structure will contains the details of Handle Range list and size of list of particular UUID of peer device. Please refer the structure in the BLE component for more information.
Please refer the Example project Day020_BLE_UART example project in the GitHub for more information.
Thank you, I think this will help.