public override bool TryGetService(BleUuid guid, out BleService service) { RequiresServices(); var services = _services; for (int i = 0; i < services.Length; i++) { if (services[i].Uuid == guid) { service = services[i]; return(true); } } service = null; return(false); }
public override bool HasService(BleUuid service) { RequiresServices(); var services = _services; for (int i = 0; i < services.Length; i++) { if (services[i].Uuid == service) { return(true); } } return(false); }