We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0655b3 commit 96c7689Copy full SHA for 96c7689
libraries/Bluefruit52Lib/src/BLEClientCharacteristic.cpp
@@ -388,6 +388,7 @@ bool BLEClientCharacteristic::disableIndicate (void)
388
389
void BLEClientCharacteristic::_eventHandler(ble_evt_t* evt)
390
{
391
+ const uint16_t evt_conn_hdl = evt->evt.common_evt.conn_handle;
392
uint16_t gatt_status = evt->evt.gattc_evt.gatt_status;
393
394
switch(evt->header.evt_id)
@@ -433,6 +434,9 @@ void BLEClientCharacteristic::_eventHandler(ble_evt_t* evt)
433
434
435
_indicate_cb(this, hvx->data, hvx->len);
436
}
437
+
438
+ // Send confirmation to server
439
+ VERIFY_STATUS( sd_ble_gattc_hv_confirm(evt_conn_hdl, hvx->handle), );
440
441
break;
442
0 commit comments