1.2.2.1.2.4.2 GATTC_DiscoverAllDescriptors

C

uint16_t GATTC_DiscoverAllDescriptors(uint16_t connHandle, uint16_t startHandle, uint16_t endHandle);

Description

GATT Client starts discovering all descriptors 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 descriptors for.
[in] startHandleStart of the querying handle range.
[in] endHandleEnd of the querying handle range.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts the discovering.
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.