bleconnection clean up

This commit is contained in:
hathach committed 2019-01-21 16:12:04 +07:00
1 parent a264e24eac
commit fc35f9f0cd
6 files changed
+13 -22

No files matched your search

@@ -638,7 +638,7 @@ bool BLECharacteristic::indicate(const void* data, uint16_t len)
// Blocking wait until receiving confirmation from peer
VERIFY_STATUS( sd_ble_gatts_hvx( conn_hdl, &hvx_params), false );
VERIFY ( Bluefruit.Gatt.waitForIndicateConfirm(conn_hdl) );
VERIFY ( conn->waitForIndicateConfirm() );
remaining -= packet_len;
u8data += packet_len;