protected override IGattService CreateNative(Guid uuid, bool primary) { var service = new GattService(this.context, this, uuid, primary); this.server?.AddService(service.Native); return(service); }
protected override IGattService CreateNative(Guid uuid, bool primary) { var service = new GattService(this.manager, this, uuid, primary); this.services.Add(service); //this.context?.Manager.AddService(service.Native); // TODO: build the service out? return(service); }