GATTC_ReadUsingUUID

C

uint16_t GATTC_ReadUsingUUID(uint16_t connHandle, GATTC_ReadByTypeParams_T *p_readParams);

Description

Initiates a read operation for a characteristic value by UUID within a handle range.

Note

This function starts a read operation for the value of a characteristic specified by UUID within the given handle range. The operation may result in a series of events indicating the status and results of the read operation.

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. See GATTC_ReadByTypeParams_T.

Return values

Return valueDescription
MBA_RES_SUCCESSRead operation successfully initiated.
MBA_RES_OOMMemory allocation failure occurred internally.
MBA_RES_INVALID_PARAInvalid parameters, such as an invalid connection handle.
MBA_RES_BUSYGATT Client is busy with another ongoing request.