1.2.2.1.2.4.1 GATTC_DiscoverAllCharacteristics

C

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

Description

GATT Client starts discovery of all characteristics 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] startHandleStart of handle range to be queried.
[in] endHandleEnd of handle range to be queried.

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.