GATTC_HandleValueConfirm
C
uint16_t GATTC_HandleValueConfirm(uint16_t connHandle);Description
Sends a Handle Value Confirmation from the GATT Client to the GATT Server upon receiving a Handle Value Indication.
Note
Call this API only after receiving GATTC_EVT_HV_INDICATE, which occurs if manual confirmation is enabled (see GATTC_CONFIG_MANUAL_CONFIRMATION).
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | Handle of the connection to send Handle Value Confirmation. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Successfully initiate the Handle Value Confirmation. |
| MBA_RES_FAIL | Operation not permitted (Automatic mode configured or no Indication received). |
| MBA_RES_OOM | Memory allocation failure occurred internally. |
| MBA_RES_INVALID_PARA | Invalid connection handle. |
