Writing an out of the tree new GATT service (for Debian stable): plugin or DBus?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I am looking at writing a new GATT (server) service for my Linux-based
bluetooth device using Bluez.
My device use Debian stable (Jessie) that uses Bluez v5.23.
Ideally, I would like to build my GATT service out of the Bluez tree.
As far as I understand I have two solutions:

Solution A) Stay with Bluez v5.23 and write a plugin. I managed to
build `plugins/gatt-example.c` out of the tree. But when `bluetoothd`
loads the plugin, it fails to find the symbol `attrib_db_update`. I am
wondering if it is due to the fact `shared/gatt-server` has not been
added to v5.23 (https://git.kernel.org/cgit/bluetooth/bluez.git/tree/src/shared?h=5.23).
And in this case it would not be possible to have a GATT service out
of the tree for this Bluez version.

Solution B) Moving to the latest Bluez version and use the GATT server
D-BUS API. But it means I need to remove and replace Bluez on my
stable Debian. I understand this solution is the long term solution
but it might take a while before the Linux distributions used this
version of Bluez.

So, is it possible to have an out of the tree plugin with v5.23? I saw
`sixaxis` plugin. But this plugin does not manipulate GATT services
and characteristics.

Thanks,
Olivier
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux