コード例 #1
0
 public override void OnCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, GattStatus status)
 {
     base.OnCharacteristicWrite(gatt, characteristic, status);
     dev.OnCharacteristicWrite(dev, new BleCharacteristicWriteEventArgs(characteristic, status.ToBleGattOpererationState()));
 }
コード例 #2
0
 /// <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);
 }