GATTC_ReadUsingUUID

C

uint16_t GATTC_ReadUsingUUID(uint16_t connHandle, GATTC_ReadByTypeParams_T *p_readParams);

Description

GATT Client initiates read of characteristic value for the specified characteristic UUID within the given handle range when this API is called.

Parameters

ParameterDescription
[in] connHandleHandle of the connection to read characteristic value for.
[in] p_readParamsPointer to structure containing the UUID of the Characteristic and handle range to be queried.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully initiates read using UUID procedure.
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.