public override void OnCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, GattStatus status) { base.OnCharacteristicWrite(gatt, characteristic, status); dev.OnCharacteristicWrite(dev, new BleCharacteristicWriteEventArgs(characteristic, status.ToBleGattOpererationState())); }
/// <summary> /// Raises the characteristic write event. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">E.</param> public void OnCharacteristicWrite(IBleDevice sender, BleCharacteristicWriteEventArgs e) { dev.OnCharacteristicWrite(sender, e); }