Running bluez on Raspberry Pi

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

 



I'm new to bluez and fairly green with Bluetooth in general.  I have
built 5.30 on a Raspberry PI 2 running raspbian wheezy.  Here's the
configure command that I used (arrived at by experimentation and
Googling for various build problems I encountered):

LDFLAGS=-lrt ./configure --disable-systemd --enable-experimental
--enable-maintainer-mode


The hci tools seem to work as expected.  Also btgatt-client works - I
am able to connect to a BLE heart rate monitor and I see the HR
related services.


However, btgatt-server does not seem to do anything, but no errors
reported either.  I'm running it like this:

sudo ./btgatt-server -r

and get this as the only output:

Started listening on ATT channel. Waiting for connections


I'm assuming that I should be seeing this advertising when I run
hcitool lescan?  I don't see anything.  Also btmon shows no activity
when I run btgatt-server.


Additionally, if I try to run bluetoothd, I get the following output
which doesn't look good!


sudo ./bluetoothd -nE

bluetoothd[19968]: Bluetooth daemon 5.30
bluetoothd[19968]: Starting SDP server
bluetoothd[19968]: Bluetooth management interface 1.7 initialized
bluetoothd[19968]: Failed to obtain handles for "Service Changed" characteristic
bluetoothd[19968]: Not enough free handles to register service
bluetoothd[19968]: Error adding Link Loss service
bluetoothd[19968]: Not enough free handles to register service
bluetoothd[19968]: Not enough free handles to register service
bluetoothd[19968]: Not enough free handles to register service
bluetoothd[19968]: Current Time Service could not be registered
bluetoothd[19968]: gatt-time-server: Input/output error (5)
bluetoothd[19968]: Not enough free handles to register service
bluetoothd[19968]: Not enough free handles to register service


I've done plenty of googling and not finding anything useful, so I'm
hoping that someone here will have some insight.

Thanks, Neil
--
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