Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Bluetooth overview


Purpose

Provides support for Bluetooth, a short-range radio communications technology, standarised by the Bluetooth SIG in the form of the v1.0 Bluetooth Specification.

[Top]


The Bluetooth stack

Like many other communications technologies, Bluetooth is composed of a hierarchy of components, referred to as a stack. The stack is shown below:

The Bluetooth stack

The Bluetooth stack

The Bluetooth Host Controller components provide the lower-level of the stack, which are typically implemented in hardware, and to which applications (or services as providers of particulary functionality over Bluetooth are called) do not have direct acccess.

The Bluetooth Host components allow applications to send or receive data over a Bluetooth link, or to configure the link:

The APIs described below give applications access to RFCOMM, L2CAP, SDP, and to a limited extent, HCI.

[Top]


Description

Functionality is provided by a number of APIs. Use them as follows:

Bluetooth Sockets

Bluetooth Sockets encapsulates access to L2CAP and RFCOMM through a TCP/IP-like sockets interface.

Bluetooth Service Discovery Database

Service Discovery Database encapsulates one side of SDP: a local service uses it to record its attributes, so that remote devices may discover its presence, and determine if it is appropriate to use.

Bluetooth Service Discovery Agent

Service Discovery Agent encapsulates the other side of SDP: it allows you to discover the services that are available on a remote device, and the attributes of those services.

Bluetooth Security Manager

Security Manager enables services to set appropriate security requirements that incoming connections must meet.

Bluetooth UI

This provides an API by which a dialog can be called that asks users for device selection information.

[Top]


Architectural relationships

The following figure shows how the different Bluetooth APIs relate. Note how the Bluetooth Sockets API is the fundamental API upon which the other APIs rely to perform communications with other devices.

Bluetooth API relationships

Bluetooth API relationships

[Top]


See also

Sockets Client-Side API