Future<void> writeDataCharacteristic( BluetoothCharacteristic characteristic, Uint8List data) async { await characteristic.write(data); }