|
【应用开发】
使用ROC-3328-PC低功耗蓝牙时遇到问题。
发表于 2020-5-14 15:03:37
浏览:5710
|
回复:1
打印
只看该作者
[复制链接]
楼主
使用开发板:ROC-3328-PC
使用固件:ROC-RK3328-PC-UBUNTU18.04-GPT-20200303-1705.img
问题描述:使用了Node.js下的bleno库,创建了一个蓝牙外围设备,在手机上使用BLE调试工具可以查询到这个外围设备,但是进行连接的时候,连接不上。bluetooth的服务的日志显示Can't store services for private addressed device。使用的bluez的版本为5.48
firefly@firefly:~$ sudo journalctl --unit=bluetooth
-- Logs begin at Thu 2020-05-14 15:00:43 CST, end at Thu 2020-05-14 15:02:31 CST. --
May 14 15:00:46 firefly systemd[1]: Starting Bluetooth service...
May 14 15:00:46 firefly bluetoothd[506]: Bluetooth daemon 5.48
May 14 15:00:46 firefly systemd[1]: Started Bluetooth service.
May 14 15:00:46 firefly bluetoothd[506]: Starting SDP server
May 14 15:00:46 firefly bluetoothd[506]: kernel lacks bnep-protocol support
May 14 15:00:46 firefly bluetoothd[506]: System does not support network plugin
May 14 15:00:46 firefly bluetoothd[506]: Bluetooth management interface 1.10 initialized
May 14 15:02:25 firefly bluetoothd[506]: No cache for 75:A1:BB:6D:4D:C6
May 14 15:02:26 firefly bluetoothd[506]: Can't store services for private addressed device /org/bluez/hci0/dev_75_A1_BB_6D_4D_C6
May 14 15:02:26 firefly bluetoothd[506]: Can't store GATT db for private addressed device /org/bluez/hci0/dev_75_A1_BB_6D_4D_C6
May 14 15:02:29 firefly bluetoothd[506]: No cache for 75:A1:BB:6D:4D:C6
May 14 15:02:29 firefly bluetoothd[506]: Can't store services for private addressed device /org/bluez/hci0/dev_75_A1_BB_6D_4D_C6
May 14 15:02:29 firefly bluetoothd[506]: Can't store GATT db for private addressed device /org/bluez/hci0/dev_75_A1_BB_6D_4D_C6
|
|