Return-Path: MIME-Version: 1.0 In-Reply-To: References: <20120910235838.GA26986@samus> Date: Thu, 13 Sep 2012 11:18:54 -0700 Message-ID: Subject: Re: Dropping connection (bit off-topic) From: John Tobias To: Anderson Lizardo Cc: Vinicius Costa Gomes , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Anderson, Here's what I did: I set the EnableGatt=true and executed my bluetoothd. The debug messages of bluetoothd confirmed that it was responding to the request of my iPhone. I used gatttool to connect to the device and read the characteristic.. Is this scenario should work or not?. Regards, john On Thu, Sep 13, 2012 at 11:07 AM, Anderson Lizardo wrote: > Hi John, > > On Thu, Sep 13, 2012 at 1:50 PM, John Tobias wrote: >> Hi Anderson, >> >> Here are the logs after reading the characteristic from my iPad apps >> that do the advertising. > > I can just confirm what Vinicius said, the disconnection after 30s > happens because the IPad sent a "Read By Type req" that gatttool does > not answer because it does not run a GATT server. > > Are you planning to implement any client (or server) profile for these > apps? If so, you should look at how to implement them as BlueZ > plugins. > > You could also try to implement a simple GATT/GAP server on gatttool, > so you could use it for testing without any disconnections. > > > PS: interestingly, it seems IPad apps are able to send connectable > advertising over LE channel from a dual mode controller... which is > against Core spec 4.0... odd. > > Regards, > -- > Anderson Lizardo > Instituto Nokia de Tecnologia - INdT > Manaus - Brazil