BlueZ 5.43 拥有对 BLE 设备更好的兼容性和更少的 Bug,Ubuntu Mate for raspiberry 16.04.2 已经 backport 了这个版本,但是官方居然没有,那没办法了,只能自己编译了。
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.43.tar.xz
tar xvf bluez-5.43.tar.xz
cd bluezbluez
sudo apt-get install libusb-dev libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var
make
sudo make install
之后应该就可以了。