|
Architectural Overview of Intel's Bluetooth* Software Stack (continued) INTRODUCTION Imagine a person with a PDA walking into an office and automatically waking up the notebook computer as a reaction. Further imagine that the notebook computer automatically synchronizes with the PDA for any calendar and task information entered overnight. When reminded of a meeting, the notebook computer is taken to a nearby conference room for a presentation while maintaining Intranet connectivity using a LAN access point. In the conference room business cards are exchanged electronically amongst the participants using notebook computers, PDAs, and cellular phones. All of this can be achieved with Bluetooth software support in the notebook computers. Bluetooth technology promotes the Always On, Always Connected and Anything, Anywhere, Anytime vision of seamless mobile computing for mobile personal computers (PCs) [1].
Goals of the Paper
Bluetooth Usage Models and Architecture Goals
The Bluetooth specification defines a low-power short-range radio and protocol stack supporting a personal communication bubble. The radio has an operational range of 10 meters at 0dbm and operates in the unlicensed 2.4GHz ISM frequency band. A single connection supports a maximum asymmetric data transfer rate of 721kbps or a maximum of three voice channels. The voice channels use synchronous communication and support mono-audio using a 64kbps CVSD-encoded stream. All connections use a Time-Division Duplex (TDD) scheme to support bi-directional communication. At the start of any connection, the unit initiating the connection is assigned temporarily as a master. This assignment is valid only during this connection. The master may have active connections to up to seven other units, known as slaves. The configuration of a master unit connected to one or more slave units is called a piconet. Link management mechanisms allow radio units to time-division-multiplex between master and slave, allowing them to act as bridges between piconets, forming a scatternet. Mechanisms also exist to allow both masters and slaves to request new connections and accept new connections. The goal of the radio specification is to enable multiple virtual cables rather than a single cable-replacement capability. Spread spectrum technology is used to operate in noisy environments and to allow multiple piconets to co-exist without a noticeable loss in throughput. A frequency-hopping scheme, with a rate of up to 1600 hops per second over 79 one MHz channels, is used to spread the signal over the entire available ISM spectrum. Various error correction schemes are available to support reliable channels. Packets may be protected using 1/3 and 2/3 rate Forward Error Correction (FEC) schemes to help correct bit errors caused by weak signals near the range limit. An Automatic Repeat Request (ARQ) scheme helps to reliably transmit link-level frames. The radio's link-level protocol supports both authentication and privacy, allowing users to develop a domain of trust between their personal devices. Connections may require a one-way, two-way, or no authentication. Authentication is based on a challenge-response algorithm. Encryption is used to protect the privacy of the connection. A stream cipher well suited to a silicon implementation is used with secret key lengths of up to 128 bits (selectable via 8-bit granularity). The authentication and privacy support are appropriate for the short-range nature of the radio, and applications requiring stalwart protection are encouraged to implement stronger security mechanisms.
Bluetooth Protocol Overview The Link Management Protocol (LMP), baseband, and radio are typically implemented in the Bluetooth hardware modules. These modules can interface to the host using different interfaces. However, all Bluetooth controllers should implement the Bluetooth Host Controller Interface (HCI). The Logical Link Control and Adaptation Protocol (L2CAP) implements a second link-layer protocol to address protocol multiplexing, segmentation, and re-assembly. L2CAP hosts a set of client protocols. A couple of such protocols are the Service Discovery Protocol (SDP) and a serial cable emulation protocol called RFCOMM. Figure 1 summarizes the Bluetooth protocol stack.
![]() Figure 1: Summary of Bluetooth protocol stack The L2CAP is a core component of the stack that contributes to the overall throughput that can be achieved.
![]() Figure 2: L2CAP and Baseband packet formats The L2CAP supports both connection-oriented and connectionless packet formats as shown in Figure 2. The L2CAP packet becomes part of the baseband packet payload as indicated. The L2CAP supports segmentation and re-assembly, protocol multiplexing, group abstraction, and quality of service. A more complete description of the protocols and profiles can be found in the Bluetooth specifications.
A Note on Implementation Target
|
|
* Bluetooth is a trademark owned by its proprietor and used by Intel under license. 1 All information contained in this paper relating to Intel's Bluetooth software product and future plans are subject to change without notice. |