Esempio n. 1
0
 public static bool CanNotify(this IGattCharacteristic ch) =>
 ch.Properties.HasFlag(CharacteristicProperties.Notify) ||
 ch.Properties.HasFlag(CharacteristicProperties.NotifyEncryptionRequired) ||
 ch.CanIndicate();
Esempio n. 2
0
 public static bool CanNotifyOrIndicate(this IGattCharacteristic ch) => ch.CanNotify() || ch.CanIndicate();