Slide 17
Slide 17 text
Handle callback
public void onCharacteristicWrite (
BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic,
int status) {
if (status == BluetoothGatt.GATT_SUCCESS) {
// check characteristic instance, handling...
} else {
// error handling...
}
}