|
Lines 2365-2371
Link Here
|
| 2365 |
|
2365 |
|
| 2366 |
<para>To start and stop the Bluetooth stack, use its startup |
2366 |
<para>To start and stop the Bluetooth stack, use its startup |
| 2367 |
script. It is a good idea to stop the stack before unplugging |
2367 |
script. It is a good idea to stop the stack before unplugging |
| 2368 |
the device. When starting the stack, the output should be |
2368 |
the device. Starting bluetooth stack might require &man.hcsecd.8; |
|
|
2369 |
started. When starting the stack, the output should be |
| 2369 |
similar to the following:</para> |
2370 |
similar to the following:</para> |
| 2370 |
|
2371 |
|
| 2371 |
<screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput> |
2372 |
<screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput> |
|
Lines 2434-2444
Link Here
|
| 2434 |
it will find the computer as |
2435 |
it will find the computer as |
| 2435 |
<quote>your.host.name (ubt0)</quote>. The name assigned to |
2436 |
<quote>your.host.name (ubt0)</quote>. The name assigned to |
| 2436 |
the local device can be changed at any time.</para> |
2437 |
the local device can be changed at any time.</para> |
|
|
2438 |
<para>Remote devices can be assigned aliases in <filename>/etc/bluetooth/hosts</filename> |
| 2439 |
More information about <filename>/etc/bluetooth/hosts</filename> file might be found in &man.bluetooth.hosts.5;. |
| 2440 |
</para> |
| 2437 |
|
2441 |
|
| 2438 |
<para>The Bluetooth system provides a point-to-point connection |
2442 |
<para>The Bluetooth system provides a point-to-point connection |
| 2439 |
between two Bluetooth units, or a point-to-multipoint |
2443 |
between two Bluetooth units, or a point-to-multipoint |
| 2440 |
connection which is shared among several Bluetooth devices. |
2444 |
connection which is shared among several Bluetooth devices. |
| 2441 |
The following example shows how to obtain the list of active |
2445 |
Following example shows how to create a connection to a remote |
|
|
2446 |
device:</para> |
| 2447 |
|
| 2448 |
<screen>&prompt.user; <userinput>hccontrol -n ubt0hci create_connection BT_ADDR</userinput></screen> |
| 2449 |
|
| 2450 |
<para> <literal>create_connection</literal> accepts <literal>BT_ADDR</literal> |
| 2451 |
as well as host aliases in <filename>/etc/bluetooth/hosts</filename> |
| 2452 |
</para> |
| 2453 |
|
| 2454 |
<para>The following example shows how to obtain the list of active |
| 2442 |
baseband connections for the local device:</para> |
2455 |
baseband connections for the local device:</para> |
| 2443 |
|
2456 |
|
| 2444 |
<screen>&prompt.user; <userinput>hccontrol -n ubt0hci read_connection_list</userinput> |
2457 |
<screen>&prompt.user; <userinput>hccontrol -n ubt0hci read_connection_list</userinput> |