⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bluetooth_on_usb.html

📁 ADI 公司blackfin系列的用户使用文挡。
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head>  <title></title>  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><div class="toc"><div class="tocheader toctoggle" id="toc__header">Table of Contents</div><div id="toc__inside"><ul class="toc"><li class="level1"><div class="li"><span class="li"><a href="#bluetooth_on_usb" class="toc">Bluetooth on USB</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#kernel_support" class="toc">Kernel Support</a></span></div></li></ul></li><li class="level1"><div class="li"><span class="li"><a href="#testing_the_bluetooth_device" class="toc">Testing the Bluetooth Device</a></span></div></li></ul></div></div><h1><a name="bluetooth_on_usb" id="bluetooth_on_usb">Bluetooth on USB</a></h1><div class="level1"><p> Almost any Bluetooth USB dongle is supported. </p><p>To operate Bluetooth Devices/Interfaces <a href="bluez.html" class="wikilink1" title="bluez.html">BlueZ</a> tools are required</p></div><!-- SECTION [1-150] --><h2><a name="kernel_support" id="kernel_support">Kernel Support</a></h2><div class="level2"><p> Enable Bluetooth Support and HCI USB driver   </p><pre class="code">[*] Networking support      Networking options  ---&gt;[ ]   Amateur Radio support  ---&gt;&lt; &gt;   IrDA (infrared) subsystem support  ---&gt;&lt;*&gt;   Bluetooth subsystem support  ---&gt;&lt; &gt;   Generic IEEE 802.11 Networking Stack--- Bluetooth subsystem support&lt;*&gt;   L2CAP protocol support&lt;*&gt;   SCO links support&lt;*&gt;   RFCOMM protocol support[*]     RFCOMM TTY support&lt;*&gt;   BNEP protocol support[*]     Multicast filter support[*]     Protocol filter support&lt;*&gt;   HIDP protocol support      Bluetooth device drivers  ---&gt;&lt;*&gt; HCI USB driver[*]   SCO (voice) support&lt; &gt; HCI UART driver (NEW)&lt; &gt; HCI BCM203x USB driver (NEW)&lt; &gt; HCI BPA10x USB driver (NEW)&lt; &gt; HCI BlueFRITZ! USB driver (NEW)&lt; &gt; HCI VHCI (Virtual HCI device) driver (NEW)</pre></div><!-- SECTION [151-980] --><h1><a name="testing_the_bluetooth_device" id="testing_the_bluetooth_device">Testing the Bluetooth Device</a></h1><div class="level1"><p> Plug in USB dongle:</p><pre class="code">usb 1-1: new full speed USB device using sl811-hcd and address 4usb 1-1: Product: Sitecom USB bluetooth2.0 class 2 dongle CN-512</pre><p>Bring up the interface:</p><pre class="code">root:/utils/exec/sbin&gt; ./hciconfig hci0 uproot:/utils/exec/sbin&gt; ./hciconfighci0:   Type: USB        BD Address: 00:10:60:D0:8C:41 ACL MTU: 384:8 SCO MTU: 64:8        UP RUNNING PSCAN ISCAN        RX bytes:77 acl:0 sco:0 events:9 errors:0        TX bytes:31 acl:0 sco:0 commands:8 errors:0</pre><p>Configure the interface:</p><pre class="code">root:/utils/exec/bin&gt; ./hcitoolhcitool - HCI Tool ver 2.25Usage:        hcitool [options] &lt;command&gt; [command parameters]Options:        --help  Display help        -i dev  HCI deviceCommands:        dev     Display local devices        inq     Inquire remote devices        scan    Scan for remote devices        name    Get name from remote device        info    Get information from remote device        cmd     Submit arbitrary HCI commands        con     Display active connections        cc      Create connection to remote device        dc      Disconnect from remote device        sr      Switch master/slave role        cpt     Change connection packet type        rssi    Display connection RSSI        lq      Display link quality        tpl     Display transmit power level        afh     Display AFH channel map        lst     Set/display link supervision timeout        auth    Request authentication        enc     Set connection encryption        key     Change connection link key        clkoff  Read clock offset        clock   Read local or remote clock</pre><p>For more information on the usage of each command use:</p><pre class="code">hcitool &lt;command&gt; --help</pre><p>Show HCI devices</p><pre class="code">root:/utils/exec/bin&gt; ./hcitool -i hci0 devDevices:        hci0    00:10:60:D0:8C:41</pre><p>Scan for Bluetooth devices in the area</p><pre class="code">root:/utils/exec/bin&gt; ./hcitool -i hci0 scanScanning ...        00:0C:78:50:4F:77       ANYCOM BT (MHENNER-L01)        00:0F:DE:32:FB:C3       T610        00:10:C6:62:C0:25       JKOHLSC-L02root:/utils/exec/biroot:/utils/exec/bin&gt; ./hcitool -i hci0 inqInquiring ...        00:0F:DE:32:FB:C3       clock offset: 0x6b37    class: 0x520204        00:0C:78:50:4F:77       clock offset: 0x48a5    class: 0x10010c        00:10:C6:62:C0:25       clock offset: 0x4df9    class: 0x1c010croot:/utils/exec/bin&gt; ./hcitool -i hci0 inqInquiring ...        00:0F:DE:32:FB:C3       clock offset: 0x6b37    class: 0x520204        00:0C:78:50:4F:77       clock offset: 0x48a5    class: 0x10010c        00:10:C6:62:C0:25       clock offset: 0x4df9    class: 0x1c010c</pre><p>Get some information from these devices: </p><pre class="code">root:/utils/exec/bin&gt; ./hcitool -i hci0 info 00:0F:DE:32:FB:C3Requesting information ...        BD Address:  00:0F:DE:32:FB:C3        Device Name: T610        LMP Version: 1.1 (0x1) LMP Subversion: 0x503        Manufacturer: Ericsson Technology Licensing (0)        Features: 0x04 0xca 0x31 0x00 0x00 0x00 0x00 0x00                &lt;encryption&gt; &lt;RSSI&gt; &lt;SCO link&gt; &lt;u-law log&gt; &lt;A-law log&gt; &lt;CVSD&gt;root:/utils/exec/bin&gt; ./hcitool -i hci0 info 00:0C:78:50:4F:77Requesting information ...        BD Address:  00:0C:78:50:4F:77root:/utils/exec/bin&gt; ./hcitool -i hci0 info 00:10:C6:62:C0:25Requesting information ...        BD Address:  00:10:C6:62:C0:25        Device Name: JKOHLSC-L02        LMP Version: 1.2 (0x2) LMP Subversion: 0x679        Manufacturer: Cambridge Silicon Radio (10)        Features: 0xff 0xff 0x9f 0xfe 0x9b 0xf9 0x00 0x80                &lt;3-slot packets&gt; &lt;5-slot packets&gt; &lt;encryption&gt; &lt;slot offset&gt;                &lt;timing accuracy&gt; &lt;role switch&gt; &lt;hold mode&gt; &lt;sniff mode&gt;                &lt;park state&gt; &lt;RSSI&gt; &lt;channel quality&gt; &lt;SCO link&gt; &lt;HV2 packets&gt;                &lt;HV3 packets&gt; &lt;u-law log&gt; &lt;A-law log&gt; &lt;CVSD&gt; &lt;paging scheme&gt;                &lt;power control&gt; &lt;transparent SCO&gt; &lt;broadcast encrypt&gt;                &lt;EDR ACL 2 Mbps&gt; &lt;EDR ACL 3 Mbps&gt; &lt;enhanced iscan&gt;                &lt;interlaced iscan&gt; &lt;interlaced pscan&gt; &lt;inquiry with RSSI&gt;                &lt;extended SCO&gt; &lt;EV4 packets&gt; &lt;EV5 packets&gt; &lt;AFH cap. slave&gt;                &lt;AFH class. slave&gt; &lt;3-slot EDR ACL&gt; &lt;5-slot EDR ACL&gt;                &lt;AFH cap. master&gt; &lt;AFH class. master&gt; &lt;EDR eSCO 2 Mbps&gt;                &lt;EDR eSCO 3 Mbps&gt; &lt;3-slot EDR eSCO&gt; &lt;extended features&gt;root:/utils/exec/bin&gt;</pre><p>Ping a device:</p><pre class="code">root:/utils/exec/bin&gt; ./l2ping -i hci0 -f 00:0C:78:50:4F:77Ping: 00:0C:78:50:4F:77 from 00:10:60:D0:8C:41 (data size 44) ...44 bytes from 00:0C:78:50:4F:77 id 0 time 17.79ms</pre></div><!-- SECTION [981-] --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -