Hello.
I'm trying to launch bluez v5.33 on Raspbian and Ubuntu 14.
bluez-5.33/test/example-gatt-server gives me "GattManager1 interface not found".
bluetooth daemon output is:
root@raspberrypi:/home/pi# bluetoothd -n
bluetoothd[2531]: Bluetooth daemon 5.33
bluetoothd[2531]: Starting SDP server
bluetoothd[2531]: Bluetooth management interface 1.7 initialized
bluetoothd[2531]: Failed to obtain handles for "Service Changed" characteristic
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Error adding Link Loss service
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Current Time Service could not be registered
bluetoothd[2531]: gatt-time-server: Input/output error (5)
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Not enough free handles to register service
bluetoothd[2531]: Sap driver initialization failed.
bluetoothd[2531]: sap-server: Operation not permitted (1)
My BLE adapter is Cambridge Silicon Radio, Ltd Bluetooth Dongle.
I saw the same problem here
http://marc.info/?l=linux-bluetooth&m=142956894520217&w=2
but no clear answer. Author adviced to use bluez d-bus api, but (as i
know) org.bluez can't be registered without daemon.
Is there any progress on this problem?
Or should i use earlier version of bluez for creating gatt server/client?
--
Kyle Shneider
Hi Kyle,
> -----Original Message-----
> From: [email protected] [mailto:linux-bluetooth-
> [email protected]] On Behalf Of Kyle Shneider
> Sent: Wednesday, September 02, 2015 10:05 PM
> To: [email protected]
> Subject: GattManager1 interface not found
>
> Hello.
> I'm trying to launch bluez v5.33 on Raspbian and Ubuntu 14.
> bluez-5.33/test/example-gatt-server gives me "GattManager1 interface not
> found".
>
> bluetooth daemon output is:
>
> root@raspberrypi:/home/pi# bluetoothd -n
> bluetoothd[2531]: Bluetooth daemon 5.33
> bluetoothd[2531]: Starting SDP server
> bluetoothd[2531]: Bluetooth management interface 1.7 initialized
> bluetoothd[2531]: Failed to obtain handles for "Service Changed"
> characteristic
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Error adding Link Loss service
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Current Time Service could not be registered
> bluetoothd[2531]: gatt-time-server: Input/output error (5)
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Not enough free handles to register service
> bluetoothd[2531]: Sap driver initialization failed.
> bluetoothd[2531]: sap-server: Operation not permitted (1)
>
>
> My BLE adapter is Cambridge Silicon Radio, Ltd Bluetooth Dongle.
>
> I saw the same problem here
> http://marc.info/?l=linux-bluetooth&m=142956894520217&w=2
> but no clear answer. Author adviced to use bluez d-bus api, but (as i
> know) org.bluez can't be registered without daemon.
> Is there any progress on this problem?
> Or should i use earlier version of bluez for creating gatt server/client?
>
>
Since this is under experimental, you have to enable the experimental flag as below
root@raspberrypi:/home/pi# bluetoothd -nE
> --
> Kyle Shneider
> --
Regards,
Gowtham Anandha Babu