User's Manual Part 2

4.3: Searching for Other Bluetooth Devices Chapter 4: Configuration and Operation
12
All Bluetooth devices have a class-of-device indicator that can be discovered by
other devices when they are performing searches. Use the Write_Local_COD
command to set the class-of-device.
4.3 Searching for Other Bluetooth Devices
Two commands are available to search for other devices:
The Inquiry command returns the Bluetooth device address and the
class of device of all the devices in the vicinity that are in discoverable
mode.
The Device Discovery command returns the Bluetooth device address,
the class of device and the name of all the devices in the vicinity that are in
discoverable mode.
The Inquiry command is faster than the Device_Discovery command. A De-
vice_Discovery is an Inquiry followed by a Name_Discovery on each found
device.
4.4 Searching for Services
It is possible to search for services on remote devices. A service search is performed
using the Service_Search command.
4.5 Creating Serial Connections and Send-
ing Data
Serial connections are Bluetooth connections based on the Serial Port Profile, the
Dial-up Networking Profile and the LAN Access Profile
2
.
How to Select What Profile to Use
It is important that the same profile is used on both devices wanting to communi-
cate. If the remote device is not a Serial Port Adapter, refer to the documentation
of that device to determine what profile it uses or to find out how to select what
profile to use.
Client or Server
First decide if your device is supposed to act as a client (initiator of connections), a
server (acceptor of connections) or both.
Wireless Multidrop
The Wireless Multidrop feature allows the Serial Port Adapter to simultaneously
communicate with several devices even when it is in data mode. If Wireless Mul-
tidrop is used all data sent to the Serial Port Adapter via the serial interface will
be forwarded to all connected devices. All data received from any of the con-
nected devices will be forwarded on the serial interface in the order that the data
was received.
The Wireless Multidrop feature can be used if the Serial Port Adapter has been
configured as a server as well as if it has been configured as a client. When config-
ured as a server several devices are able to connect to your Serial Port Adapter and
2
Only supported in version 2 of the serial port adapter models.