1.1.2.1.2.4.7 GATTC_HandleValueConfirm

C

uint16_t GATTC_HandleValueConfirm(uint16_t connHandle);

Description

GATT client sends Handle Value Confirmation to the GATT server when it receives a Handle Value Indication. It should be called to send a confirmation only if event GATTC_EVT_HV_INDICATE is received. This event is generated if manual mode is configured (see GATTC_CONFIG_MANUAL_CONFIRMATION) and an indication is received.

Parameters

ParameterDescription
[in] connHandleHandle of the connection to send Handle Value Confirmation.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts the Handle Value Confirmation.
MBA_RES_FAILOperation is not permitted. Either Automatic mode is configured or an Indication was not received.
MBA_RES_OOMOut Of Memory. Allocation of memory for internal data structure failed.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.