private void OnBleDeviceFound(BleDevice device) { if (BleDeviceFound != null) { BleDeviceFound(this, (BleDevice)device); } }
public void OnDeviceFound(BleDevice dev) { if (BleDeviceFound != null && !devicesound.Contains(dev)) { devicesound.Add(dev); BleDeviceFound(this, dev); } }
public BleCallback(BleDevice d) { dev = d; }
/// <summary> /// Initializes a new instance of the <see cref="XBleApi.XBleDevice"/> class. /// </summary> public XBleDevice(BleDevice device) { dev = device; }