Firefly开源社区

打印 上一主题 下一主题

[应用开发] 使用ROC-3328-PC低功耗蓝牙时遇到问题。

21

积分

0

威望

0

贡献

技术小白

积分
21

使用ROC-3328-PC低功耗蓝牙时遇到问题。

发表于 2020-5-14 15:03:37      浏览:3209 | 回复: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
回复

使用道具 举报

8

积分

0

威望

0

贡献

技术小白

积分
8
发表于 2020-5-21 11:11:17        只看该作者  沙发
我也碰到同样的问题,但是可以连接上,但是找不到外围设备的Characteristic值,所以无法传输数据
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表