private void DiscoveredCharacteristic(object sender, CBServiceEventArgs args) { if (args.Service.UUID != _nativeService.UUID) return; foreach (var c in args.Service.Characteristics) { var charId = c.UUID.ToString().ToGuid(); if (Characteristics.All(x => x.Id != charId)) { var characteristic = new Characteristic(_peripheral, c); Characteristics.Add(characteristic); CharacteristicDiscovered(this, new CharacteristicDiscoveredEventArgs(characteristic)); } } }