Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1457706745-14511-1-git-send-email-luiz.dentz@gmail.com> Date: Mon, 14 Mar 2016 21:09:55 +0200 Message-ID: Subject: Re: [PATCH BlueZ] doc/device-api: Replace GattServices with ServicesDiscovered property From: Luiz Augusto von Dentz To: Andrzej Kaczmarek Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andrzej, On Mon, Mar 14, 2016 at 8:17 PM, Andrzej Kaczmarek wrote: > Hi Luiz, > > On Mon, Mar 14, 2016 at 3:15 PM, Luiz Augusto von Dentz > wrote: >> Hi, >> >> On Fri, Mar 11, 2016 at 4:32 PM, Luiz Augusto von Dentz >> wrote: >>> From: Luiz Augusto von Dentz >>> >>> GattServices is not really doing was it was meant to do which was to >>> track progress of service discovery since it only worked for the very >>> first time a device is connected but since we no longer remove the >>> attributes an application would have the false impression the service are >>> all resolved by the time it reconnects when in fact the service may have >>> changed. >>> >>> Furthermore object tracking like it is doing has been obsolete by >>> ObjectManager so this propose to replace the service discovery tracking >>> with a boolean property which works both with SDP as well as GATT >>> discovery. > > I'm just curious - do you also plan to remove > org.bluez.GattService1.Characteristics and > org.bluez.GattCharacteristic1.Descriptors? I guess we should remove them as well, at least I don't any reason to keep them. -- Luiz Augusto von Dentz