Esempio n. 1
0
        public IPeripheral AddPeripheral(BluetoothLEDevice native)
        {
            var dev = new Peripheral(this, native);

            this.peripherals.TryAdd(native.BluetoothAddress, dev);
            return(dev);
        }
 public GattService(Peripheral peripheral, CBService native) : base(peripheral, native.UUID.ToGuid(), native.Primary)
 {
     this.Peripherial = peripheral.Native;
     this.Service     = native;
 }