Ubuntu Linux 8.04 bluetooth device connection management method

Source: Internet
Author: User

 

1. Start the bluetooth device

Sudo/etc/init. d/Bluetooth restart

Or

Sudo/etc/init. d/bluez-utils restart

 

2. Use hcitool Dev to view Bluetooth devices on the computer

Teapot @ teapot :~ $ Hcitool Dev

Devices:

Hci0 00: 16: Cf: DB: B4: BF

Teapot @ teapot :~ $

 

3. Install the device

Query the device address

Teapot @ teapot :~ $ Sudo hidd -- search

Searching...

No devices in range or visible

If sudo hidd -- search is not found, use hcitool scan to search

My t60 uses hcitool scan to find the Bluetooth of the mobile phone

Teapot @ teapot :~ $ Hcitool Scan

Scanning...

00: 1D: E9: 30: Ce: 55 pzf # This is my mobile phone

 

Teapot @ teapot :~ $ Sudo hidd -- connect 00: 1D: E9: 30: Ce: 55

Teapot @ teapot :~ $ Sudo hidd -- show

Teapot @ teapot :~ $

No error message or connection. I don't know what's going on!

 

Teapot @ teapot :~ $ Sudo hcitool CC 00: 1D: E9: 30: Ce: 55

Teapot @ teapot :~ $ Sudo hcitool con

Connections:

Teapot @ teapot :~ $

 

# Pzf is found on the browsing device of the Bluetooth manager.

# Pairing

# View connections

 

Teapot @ teapot :~ $ Sudo hcitool con

Connections:

<ACL 00: 1D: E9: 30: Ce: 55 handle 11 State 1 lm master Encrypt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.