List of usage examples for android.bluetooth BluetoothGatt executeReliableWrite
public boolean executeReliableWrite()
From source file:com.google.android.apps.forscience.ble.MyBleService.java
void commit(String address) { BluetoothGatt bluetoothGatt = addressToGattClient.get(address); if (bluetoothGatt == null) { Log.w(TAG, "No connection found for: " + address); sendGattBroadcast(address, BleEvents.COMMIT_FAIL, null); return;// w w w .j a v a 2s. c om } bluetoothGatt.executeReliableWrite(); }