Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [PATCH] android/gatt: Fix handling advertising state From: Marcel Holtmann In-Reply-To: Date: Wed, 14 May 2014 09:10:20 -0700 Cc: Lukasz Rymanowski , "linux-bluetooth@vger.kernel.org" , Szymon Janc Message-Id: <30C3CB2E-2C64-4E1D-8C9F-B4F83704BA8D@holtmann.org> References: <1400066794-12621-1-git-send-email-lukasz.rymanowski@tieto.com> To: Lukasz Rymanowski Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Lukasz, >>> This patch fixes enabling advertising. >>> It was not possible to enable it if we had server registered >>> which is on listen_apps list but does not trigger advertising. >> >> does this mean we always advertise when registering GATT server? > No. We just put each server on the listen_apps queue and once remote > device connects to us, this server gets connection callback. this sounds all a bit weird. Did Android get this wrong. We can connect to a remote device and we can still receive GATT server exchange. It has really nothing to do with central or peripheral roles. Regards Marcel