Reputation: 370
We want to write a custom Gatt Server Application for Bluez where we want to give some useful features. For example:
Bluez don't have these features in command line tool but they have several APIs (functions) to do that, we need to call those internal functions. In according to that we wrote an application in "bluez5.28/attrib/" directory from where we called several internal functions from files of "bluez5.28/attrib/", "bluez5.28/profiles/" and "bluez5.28/src/" directories and tried to build it with bluez Makefile.
Since bluez have automated generated make file from automake it is quiet hard to make any change in that Makefile. But when we tried it showed lots of errors regarding dependencies and libraries e.g. undefined references, no such files of directories, etc.
Is their any easier way to use bluez functions to make a GattServer Application ?
Thanks in advance for your valuable answers.....
Upvotes: 1
Views: 2805
Reputation: 180
correlate pg:1950 in bluetooth spec4.0 APPENDIX: EXAMPLE ATTRIBUTE SERVER
ATTRIBUTES with gatt-example.c in plugins in bluez5.28
Upvotes: 0
Reputation: 14046
bluez gatt dbus apis are now complete as of version 5.29. You may consider using those if going via the dbus rather than directly through library calls is acceptable for you.
Upvotes: 1