Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual page 595

Table of Contents

Advertisement

tivate both hcid and sdpd can with rcbluetooth start. This command must be
executed as root.
The following paragraphs briefly describe the most important shell tools that can be
used for working with Bluetooth. Although various graphical components are now
available for controlling Bluetooth, it can be worthwhile to check these programs.
Some of the commands can only be executed as root. This includes the command
l2ping device_address for testing the connection to a remote device.
hcitool
Use hcitool to determine whether local and remote devices are detected. The command
hcitool dev lists the local devices. The output generates a line in the form
interface_name device_address for every detected local device.
Search for remote devices with the command hcitool inq. Three values are returned
for every detected device: the device address, the clock offset, and the device class.
The device address is important, because other commands use it for identifying the
target device. The clock offset mainly serves a technical purpose. The class specifies
the device type and the service type as a hexadecimal value.
Use hcitool name device-address to determine the device name of a remote
device. In the case of a remote computer, the class and the device name correspond to
the information in its /etc/bluetooth/hcid.conf. Local device addresses
generate an error output.
hciconfig
The command /usr/sbin/hciconfig delivers further information about the local
device. If hciconfig is executed without any arguments, the output shows device
information, such as the device name (hciX), the physical device address (a 12-digit
number in the form 00:12:34:56:78), and information about the amount of trans-
mitted data.
hciconfig hci0 name displays the name that is returned by your computer when
it receives requests from remote devices. As well as querying the settings of the local
device, hciconfig can modify these settings. For example, hciconfig hci0
name TEST sets the name to TEST.
Wireless Communication
579

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents