scalewing 发表于 2020-5-14 15:03:37

使用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: Starting Bluetooth service...
May 14 15:00:46 firefly bluetoothd: Bluetooth daemon 5.48
May 14 15:00:46 firefly systemd: Started Bluetooth service.
May 14 15:00:46 firefly bluetoothd: Starting SDP server
May 14 15:00:46 firefly bluetoothd: kernel lacks bnep-protocol support
May 14 15:00:46 firefly bluetoothd: System does not support network plugin
May 14 15:00:46 firefly bluetoothd: Bluetooth management interface 1.10 initialized
May 14 15:02:25 firefly bluetoothd: No cache for 75:A1:BB:6D:4D:C6
May 14 15:02:26 firefly bluetoothd: 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: 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: No cache for 75:A1:BB:6D:4D:C6
May 14 15:02:29 firefly bluetoothd: 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: 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:17

我也碰到同样的问题,但是可以连接上,但是找不到外围设备的Characteristic值,所以无法传输数据
页: [1]
查看完整版本: 使用ROC-3328-PC低功耗蓝牙时遇到问题。