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