Example #1
0
 public Peripheral(ManagerContext managerContext, BluetoothLEDevice native)
 {
     this.context = new PeripheralContext(managerContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId().ToString();
 }
Example #2
0
 public Device(AdapterContext adapterContext, BluetoothLEDevice native)
 {
     this.context = new DeviceContext(adapterContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId();
 }
Example #3
0
 public Peripheral(CentralContext adapterContext, BluetoothLEDevice native)
 {
     this.context = new DeviceContext(adapterContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId();
 }