Thread (2 messages) read the whole thread 2 messages, 2 authors, 2017-02-10

Don't understand BlueZ 5 GATT interface

From: Dave Beal <hidden>
Date: 2017-02-09 19:10:00

Hello -

I'm trying to write a GATT client using BlueZ 5.19. Neither Python nor
glib are available in my environment, so I'm reduced to using libdbus.
I understand that I call Bluez's RegisterProfile method to specify the
UUID of the profile/service that I want to connect to, and that when a
matching remote device is found, Bluez will call my NewConnection
method. (This currently isn't working for me, but that's a different
question, posed in an earlier email.) The NewConnection call passes a
file descriptor that I use to talk to the remote device. Then what?
What do I send over the connection in order to, for instance, read and
write an attribute? Link layer messages? ATT protocol commands?
Thanks!

- Dave Beal
  dbeal@cardinalpeak.com
  Cardinal Peak, LLC
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help