public override void OnCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)
            {
                base.OnCharacteristicChanged(gatt, characteristic);
                BleCharacteristicChangedEventArgs ev = new BleCharacteristicChangedEventArgs(characteristic, characteristic.GetValue(), BleGattOperationState.Success);

                dev.OnCharacteristicChanged(dev, ev);
            }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises the characteristic changed event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 public void OnCharacteristicChanged(IBleDevice sender, BleCharacteristicChangedEventArgs e)
 {
     dev.OnCharacteristicChanged(sender, e);
 }