Bluetooth connectivity guide

This section describes the process of connecting a mobile phone and a PC using Bluetooth. The reader is assumed to be familiar with Bluetooth terminology and basic operations such as finding and pairing devices.

With Bluetooth connections there are two basic use cases:

The simpler static connections case refers to data transferring between two connected devices. The more advanced dynamic connections case involves searching for a device(s), selecting services, and then transferring data between devices.

Note: Note : This separation into static and dynamic connections use cases is done only for purposes of better describing use cases in this document.

Static connections

A common use for Bluetooth communication is when the user wants to synchronize data or send files (or applications) between a personal computer and a mobile phone. Examples include synchronizing a calendar or installing a new application to a mobile phone.

When a user wants to frequently communicate between two known devices and authentication is needed, these devices are usually paired (this only needs to be done once). Pairing must be done via a mobile phone and a computer’s user interface and usually involves typing the same passkey to both.

If authorization is required (which is usually the case), a user must accept each incoming Bluetooth connection. However, the connection can be set as trusted so that incoming connections from a certain device are automatically accepted. This arrangement can be further developed so that the devices automatically open a connection when they detect each other.

Note that authentication and authorization can be set On or Off in the MIDlet of the receiving end (slave) device.

Dynamic connections

The second case for Bluetooth connections involves finding devices according to the services they publish. It may not be important which device connection is established, but it is important to have the correct service in use.

In this case, the computer and mobile phone do not know about each other. The first task is to enable the computer and mobile phone to find each other. The second task is to pair the computer and mobile device. After pairing is done, the connection can be opened and data transferred.

Finding other Bluetooth devices is usually initiated by hand using the mobile phone or computer’s user interface. The same applies to pairing devices. However, these tasks can be automated, thus reducing the actions needed from the user and greatly simplifying such tasks.

Ultimately, the entire process, from finding devices to synchronizing data, can be automated, and the user is simply informed that data is now synchronized. From the user’s point of view this is a significant advantage compared to the simpler, static connection.