public Characteristic(Service service, BluetoothGattCharacteristic characteristic) { _service = service; _characteristic = characteristic; _uuid = new CharacteristicUuid(new Uuid(characteristic.Uuid.ToString())); _clientConfigDescriptor = characteristic.GetDescriptor(s_uuidClientConfiguration); }
public Characteristic(Service service, CBCharacteristic characteristic) { _service = service; _characteristic = characteristic; _uuid = characteristic.UUID.ToUuid(); }