Firefly开源社区

标题: 使用ROC-3328-PC低功耗蓝牙时遇到问题。 [打印本页]

作者: scalewing    时间: 2020-5-14 15:03
标题: 使用ROC-3328-PC低功耗蓝牙时遇到问题。
使用开发板: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

作者: yanminli    时间: 2020-5-21 11:11
我也碰到同样的问题,但是可以连接上,但是找不到外围设备的Characteristic值,所以无法传输数据




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1