Difference between revisions of "Template:Linux-Bluetooth"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===使用蓝牙===
+
===Bluetooth===
如果你的开发板板载有蓝牙模块,可输入以下命令搜索周边的蓝牙设备:
+
Search for surrounding bluetooth devices by running the following command:<br/>
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
hcitool scan
+
$ su root
 +
$ hciconfig hci0 up
 +
$ hcitool scan
 
</syntaxhighlight>
 
</syntaxhighlight>
使用hciconfig命令来了解接口的状态。
+
You can run "hciconfig" to check bluetooth's status.

Latest revision as of 08:20, 9 October 2018

Bluetooth

Search for surrounding bluetooth devices by running the following command:

$ su root
$ hciconfig hci0 up
$ hcitool scan

You can run "hciconfig" to check bluetooth's status.