Return-Path: From: Szymon Janc To: Andrei Emeltchenko Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH 1/3] android/client: Fix help for gatt server commands Date: Thu, 13 Nov 2014 14:32:27 +0100 Message-ID: <4954032.eEl2lhYVXl@uw000953> In-Reply-To: <1415783361-11991-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1415783361-11991-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andrei, On Wednesday 12 of November 2014 11:09:19 Andrei Emeltchenko wrote: > From: Andrei Emeltchenko > > --- > android/client/if-gatt.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/android/client/if-gatt.c b/android/client/if-gatt.c > index 5f0eb1c..72f97ba 100644 > --- a/android/client/if-gatt.c > +++ b/android/client/if-gatt.c > @@ -1894,7 +1894,11 @@ static void gatts_send_response_p(int argc, const char *argv[]) > static struct method server_methods[] = { > GATTS_METHODH(register_server, "[]"), > GATTS_METHODCH(unregister_server, ""), > +#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) > + GATTS_METHODCH(connect, " [] []"), > +#else > GATTS_METHODCH(connect, " []"), > +#endif > GATTS_METHODCH(disconnect, " "), > GATTS_METHODCH(add_service, " "), > GATTS_METHODCH(add_included_service, All patches applied, thanks. -- Best regards, Szymon Janc