public Peripheral(AdapterContext context, CBPeripheral native) : base(native.Name, native.Identifier.ToGuid()) { this.context = context; this.Native = native; }
public Peripheral(AdapterContext adapterContext, BluetoothLEDevice native) { this.context = new DeviceContext(adapterContext, this, native); this.Name = native.Name; this.Uuid = native.GetDeviceId(); }