Thread (17 messages) read the whole thread 17 messages, 5 authors, 2016-04-01

Re: example GATT code to talk with a sensortag

From: Don Zickus <hidden>
Date: 2016-01-11 14:57:35

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 [off-list ref] wrote:
quoted
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!!

Cheers,
Don
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help