sunbeyond 发表于 2014-6-9 10:25:37

Linux蓝牙调试工具使用1

本帖最后由 sunbeyond 于 2014-6-9 10:29 编辑

                              Linux蓝牙调试工具使用:apt-getinstall bluez-utils
1、使用hciconfig查看蓝牙是否正常启动。
command: hciconfig -a
信息:hci0: Type: UART      
BD Address: 00:09:23:11:19:6F ACL MTU: 820:8 SCO MTU: 255:16      DOWN      
RX bytes:810 acl:0 sco:0 events:20 errors:0      
TX bytes:413 acl:0 sco:0 commands:20 errors:0      
Features: 0xff 0xfb 0xff 0xfe 0xdb 0xff 0x7b 0x87   
   Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3   
   Link policy: RSWITCH HOLD SNIFF PARK      
Link mode: SLAVE ACCEPT

2、使用hciconfig hci0 up命令把蓝牙设备打开。   
command: hciconfig hci0 up


3 查看蓝牙模块信息(是否正确被识别,是否工作正常)
# hcitool dev
Devices:
      hci0    00:1B:35:00:12:34

4 使用hcitool scan命令扫描周围的蓝牙设备。
command: hcitool scan







Jerry.Li 发表于 2014-6-10 08:59:10

好,有用的资料

纸Luv月 发表于 2014-8-1 11:36:25

有用啊,大家都来看一下啊
页: [1]
查看完整版本: Linux蓝牙调试工具使用1