简体   繁体   English

树莓派上未检测到蓝牙USB设备

[英]Bluetooth usb device not detected on raspberry pi

I recently bought a Radius Network Beacon Developer Kit, and I installed the pibeacon image provided by the radius network on to Rapberry Pi Model B. i am using USB powered beacon provided by the Radius Network. 我最近购买了Radius网络信标开发套件,并将Radius网络提供的pibeacon映像安装到Rapberry Pi B型上。我使用的是Radius网络提供的USB供电信标。 Bluez (5.31) is already pre-installed in the Raspbian os image. Bluez(5.31)已预先安装在Raspbian操作系统映像中。 When I do a lsusb I get the output as: 当我执行lsusb时 ,输出为:
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 总线001设备002:ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 总线001设备001:ID 1d6b:0002 Linux Foundation 2.0根集线器
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 总线001设备003:ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter 总线001设备007:ID 0bda:8176 Realtek Semiconductor Corp.RTL8188CUS 802.11n WLAN适配器
Bus 001 Device 006: ID 2458:0001 总线001设备006:ID 2458:0001

When I try the commands hcitool dev : 当我尝试命令hcitool dev时
Devices: 设备:
When I try the command hcitool lesscan : 当我尝试命令hcitool lesscan时
Device is not available: No such device 设备不可用:没有这样的设备
hciconfig also gives a blank output hciconfig也给出空白输出
But when I try hcitool lesscan --duplicates I get the following output: [1]+ 6044 但是,当我尝试hcitool lesscan --duplicates时 ,得到以下输出: [1] + 6044

The command beacon scan and beacon stop returns 命令信标扫描信标停止返回
Send failed: File descriptor in bad state. 发送失败:文件描述符处于错误状态。
And
Invalid device : Network is down 无效的设备:网络已关闭

I even tried turning on the hci0 , but nothing seems to be working. 我什至尝试打开hci0,但似乎没有任何效果。 Please help. 请帮忙。

The Radius Networks Pi Beacon (also known as the Beacon Development Kit) is a Raspberry Pi that ships with an IOGear GBU521 Bluetooth LE dongle and an SD card with software to make it transmit an iBeacon signal. Radius Networks Pi信标(也称为信标开发套件)是一种Raspberry Pi,它随附有IOGear GBU521蓝牙LE加密狗和带有软件的SD卡,以使其传输iBeacon信号。 This software uses the Linux BlueZ framework to transmit, which requires a standard Bluetooth 4.x device. 该软件使用Linux BlueZ框架进行传输,这需要标准的Bluetooth 4.x设备。

Based on the comments below the question, it is clear that the problem is attempting to use the software and Raspberry Pi to control a RadBeacon USB dongle. 根据问题下方的评论,很明显,问题是试图使用该软件和Raspberry Pi来控制RadBeacon USB软件狗。 This won't work, because a RadBeacon USB is a standalone beacon device, and not a general purpose Bluetooth 4.x device. 这将不起作用,因为RadBeacon USB是独立的信标设备,而不是通用的Bluetooth 4.x设备。 The solution is to use a standard Bluetooth 4.x device like the recommended GBU521. 解决方案是使用标准的蓝牙4.x设备,例如推荐的GBU521。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM