USB 蓝牙适配器在ARM 开发板下的使用

2014-11-24 12:46:52 · 作者: · 浏览: 2

标题:USB 蓝牙适配器在ARM 开发板下的使用:


关键字: dbus,bluez-lib, bluez-utils, USB 蓝牙,ARM


正文:


1、我的操作环境是


2、配置内核支持Bluetooth,


2.1 make menuconfig



[*] Networking support --->


<*> Bluetooth subsystem support ---> //蓝牙子系统必须选择


<*> L2CAP protocol suppor //逻辑链路控制和适配协议。


<*> SCO links support //蓝牙语音和耳机支持


<*> RFCOMM protocol suppor //面向流的传输协议,支持拨号网络等


[*] RFCOMM TTY support //


<*> BNEP protocol support //蓝牙网络封装协议,自组网支持


[*] Multicast filter support //蓝牙多播,支持支持BNEP


[*] Protocol filter support //蓝牙多播,支持支持支持BNEP


<*> HIDP protocol support //基本支持协议


Bluetooth device drivers --->


<*> HCI USB driver //USB蓝牙模块支持


HCI UART driver //基于串口,CF卡或PCMCIA的蓝牙


<*> HCI BlueFRITZ! USB driver


<*> HCI VHCI (Virtual HCI device) driver


2.2 下载内核 检测USB 蓝牙设备信息:


[root@Mr /mnt]#usb 1-1: new full speed USB device using s3c2410-ohci and address
usb 1-1: New USB device found, idVendor=0a12, idProduct=0001
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[root@Mr /mnt]#


[root@FORLINX6410]# hciconfig检测蓝牙设备
hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
[root@FORLINX6410]#