Return-Path: Date: Mon, 11 Jan 2016 14:58:05 -0500 From: Don Zickus To: Bastien Nocera Cc: Luiz Augusto von Dentz , "linux-bluetooth@vger.kernel.org" Subject: Re: example GATT code to talk with a sensortag Message-ID: <20160111195805.GC152924@redhat.com> References: <20160108222608.GU152924@redhat.com> <20160111145735.GW152924@redhat.com> <1452537920.4584.16.camel@hadess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <1452537920.4584.16.camel@hadess.net> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Mon, Jan 11, 2016 at 07:45:20PM +0100, Bastien Nocera wrote: > On Mon, 2016-01-11 at 09:57 -0500, Don Zickus wrote: > > On Sun, Jan 10, 2016 at 07:13:56PM -0300, Luiz Augusto von Dentz > > wrote: > > > Hi Don, > > > > > > On Fri, Jan 8, 2016 at 7:26 PM, Don Zickus > > > wrote: > > > > Hi, > > > > > > > > Sorry for the newbie question.  I stumbled upon a TI sensortag > > > > and was able > > > > to communicate with it using the gatttool.  Now I am trying to > > > > figure out > > > > how to build an app around that.  Googling has shown me lots of > > > > examples of > > > > folks using expect scripts (around the gatttool). > > > > > > > > I was hoping for something in C or python.  Is there an example > > > > program/script around that I can copy and expand to get me > > > > started? > > > > > > > > Thanks! > > > > > > > > Cheers, > > > > Don > > > > > > bluetoothctl has some generic support for GATT attributes, in > > > addition > > > we have some examples in python under test/example-gatt-client and > > > test/example-gatt-server. > > > > Hi Luis, > > > > Perfect, thanks!! > > Let me know how far you manage to get. I have one such device from > "Proximo" which I was hoping to be able to use. No problem. :-) Cheers, Don