UbuntuLinux8.04 Bluetooth device connection management method

Source: Internet
Author: User
Article title: UbuntuLinux8.04 Bluetooth device connection management method. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

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

Related Article

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.