test bluez 5.x on arm-linux platform from zsj
sh /etc/enable_bt.sh
cd /usr/libexec/bluetooth/
./bluetoothd -C &
hciconfig hci0 up
hciconfig hci0 piscan
#不执行会报错 (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)
export $(dbus-launch)
#蓝牙文件传输协议 不启动的话QT5无法传输文件
/usr/libexec/bluetooth/obexd -d -a -r '/' &
启动一个接收服务
bt-obex -y -s '/' &