1.1.2.1.2.4.4 GATTC_DiscoverCharacteristicsByUUID

C

uint16_t GATTC_DiscoverCharacteristicsByUUID(uint16_t connHandle, GATTC_DiscoverCharacteristicByUuidParams_T *p_discParams);

Description

GATT Client starts discovery of specific characteristics by UUID within the given handle range when this API is called.

Following events may be generated:

Parameters

ParameterDescription
[in] connHandleHandle of the connection to discover the characteristics for.
[in] p_discParamsPointer to structure containing the specific characteristic UUID to be discovered and the discovered handle range.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts discovering the characteristics.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.
MBA_RES_BUSYGATT Client is busy. Another request is ongoing.