Professional Documents
Culture Documents
Chapter 13. Bluetooth Technology
Chapter 13. Bluetooth Technology
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
Little LEOs
SkyTel 2-Way
CSMA/AMPS Cellular
GSM-PCS
Wireless LANs
Metricom
TDMA-PCS
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
The sleeping power specified is 30 micro amps; transmission power is 800 micro amps; standby
mode is 300 micro amps. It can support three full-duplex voice channels simultaneously per
piconet with a data rate of 721 kbps. The price for a Bluetooth chip is about $5 or less. It can
operate on both circuit and packet switching modes, providing both synchronous and
asynchronous data services. Within a piconet, Bluetooth provides point-to-point communications.
A device is picked as the MASTER and the rest serve as SLAVES. Multi-hop communications in
Bluetooth are achieved through the scatternet concept, where multiple masters must establish
links to each other. The MASTER is, therefore, the bottleneck!
If we examine throughput performance, sometimes Bluetooth is faster than cellular data (9.6 to
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 2 of 10
14.4 kbps). However, compared to wired or wireless LAN (10 Mbps), Bluetooth is slower.
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
The Bluetooth architecture is based on a cluster or grouping of ad hoc wireless devices. The
clustering allows coordination at the media access layer and also routing. As shown in Figure
13.1, the piconet has a cluster head, which acts as the central controller and MASTER. All other
devices within the cluster become the SLAVES. The specification limits the number of SLAVES
within a piconet to seven; hence, there are no more than eight active devices in a piconet. If
there are other devices within the piconet, then they should not be active or they will be
considered "parked." Figure 13.1 shows the presence of a "parked" member.
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 3 of 10
All devices on a piconet adhere to the same frequency hopping sequence and timing of the
MASTER. Note that SLAVES within a piconet only have links to the MASTER and not between
SLAVES in the piconet. This sort of setup implies that communication between SLAVES within the
same piconet has to occur via the MASTER. The MASTER sets the frequency hopping sequence
and SLAVES synchronize to the MASTER in time and frequency by following the MASTER's
hopping sequence.
Every Bluetooth device has a unique device/hardware address and a Bluetooth clock. An
algorithm is used to derive the hopping frequency based on the MASTER device address and
clock. The MASTER performs channel access management by scheduling time slots to SLAVES,
which then influence how often a SLAVE can communicate. The number of slots assigned will
depend on the QoS requirement. For voice traffic, accessible slots are reserved and available on
a periodic basis. Hence, channel access is coordinated through the MASTER and a form of
dynamic TDMA scheme is used.
If a Bluetooth device is within the locality of two piconets, then time-sharing has to occur, that is,
it will spend a few slots on one piconet and a few slots on the other. The cascading of one
piconet to another results in scatternets.
As shown in Figure 13.2, a MASTER of a piconet can act as a SLAVE of another MASTER in
another piconet. It is not possible for a device to serve as a MASTER for two piconets. For a
SLAVE in a piconet to talk to another SLAVE in another piconet, both MASTERs have to be
involved in relaying the packets across piconets.
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 4 of 10
A device, however, can be a SLAVE for two MASTERs on two different piconets. In such a
configuration, that SLAVE acts as the communication bridge/router if communications span
across piconets. Hence, it is clear that there is a limitation as to the communication performance
of multi-hop routes over Bluetooth scatternets due to the presence of time switching among
piconets. Currently, there is no deeper clustering other than piconets and scatternets in
Bluetooth.
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
The link control layer supports link establishment and provides link control. The link management
(LM) layer controls and configures links to other Bluetooth devices. The LM is responsible for
attaching SLAVES to a piconet, and allocating their active member addresses. It establishes ACL
(asynchronous connectionless) data and SCO (synchronous connection oriented) voice links and
is capable of putting connections into low-power modes. The host controller interface (HCI)
allows the implementation of lower Bluetooth functions on the Bluetooth device and higher
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 5 of 10
protocol layer functions on a host machine. Interactions between these two entities occur over
the HCI. Hence, the HCI is useful for testing, debugging, and also separating functions into
different hardware modules.
Multiplexing and assembly/disassembly functions are performed by the logical link control and
adaptation layer (L2CAP). RFCOMM is a reliable transport protocol providing framing,
multiplexing, and flow control functions. It can emulate serial connections familiar to RS-232
serial ports since Bluetooth involves mostly point-to-point links. OBEX is the object exchange
session protocol that enables the exchange of data objects and supports dialogues between two
devices. vCard, vCalender, vMessage, and vNotes state the formats for the electronic business
card, electronic calendar, scheduling, messaging, and mail.
As shown in Figure 13.3, WAP-related protocols can also be supported over a Bluetooth platform,
although this may not be the most optimal thing to do. If we were to compare the OSI ISO
seven-layer protocol model with the Bluetooth protocol stack, the baseband layer would
correspond to the data link layer, while link control and management layers would correspond to
the network and transport layers.
At the physical layer, the license-free ISM band at 2.4GHz is being used for Bluetooth. The
operating band of frequencies is divided into 1MHz-spaced sub-bands, and using GFSK with a
signaling data rate of 1M symbol per second, 1 Mbps is available.
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 6 of 10
Each device periodically transmits a series of inquiry packets via broadcast. Nodes in the
neighborhood reply with a frequency hop synchronization (FHS) packet. This packet informs the
inquiry source how to establish communication with it. It also contains specific information about
the device, such as the device's class. Eventually, each device knows which other devices are
present and their FHSs.
Detecting the presence of other Bluetooth devices is just half the story. To discover services
present in those devices, a service discovery protocol (SDP) is needed. In this protocol, a device
first pages the correspondent device. If the correspondent device is scanning for pages, it will
respond. The L2CAP channel is used to establish a connection to the service discovery server on
the other device, thereby obtaining information about available services on that device. If it
decides to access a particular service, it then has to establish an L2CAP connection to the device
where the service resides. The interactions of the client/server and the respective protocol layers
involved in SDP are shown in Figure 13.4.
Essentially, an SDP client has to search for a specific desired class of service to retrieve
attributes associated with that service so as to allow the establishment of a connection to access
that service. Devices can implement policies so that they do not respond to inquiries and hence
can remain invisible to other devices. They may do so for a variety of reasons, such as power
conservation and privacy.
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 7 of 10
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 8 of 10
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
Audio is an important element of Bluetooth functions and three full-duplex audio channels can
occur simultaneously. To compensate against transmission corruption due to the presence of
interference, the CVSD (Continuous Variable Slope Delta Modulation) technique is used. The use
of 64kbps CVSD provides toll-quality speech. Bluetooth, however, also uses log PCM coding (A-
law and μ-law). Higher quality audio, such as hi-fi music, is best compressed and sent over ACL
channels.
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 9 of 10
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011
Chapter 13. Bluetooth Technology Page 10 of 10
(Continuous Variable Slope Delta Modulation) transcoder for voice communications. A UART is
included, as well as a USB interface.
Ericsson, on the other hand, is also producing Bluetooth-related products. In particular, their
Bluetooth development kits can assist other companies to build their own Bluetooth applications
and products (see Figure 13.9). An upgrade kit to allow the handling of point-to-multipoint
communications and scatternet support is also available. The Bluetooth application toolkit aids
software development, while the Bluetooth application and training toolkit has been developed
for educational bodies to provide hands-on training on Bluetooth technologies. Other tools
include the Bluetooth HCI toolbox, the Bluetooth script engine, and the Bluetooth log analyzer.
Wireless Networking C.-K. Toh - Ph.D. Prentice Hall Ad Hoc Mobile Wireless Networks: Protocols and
Systems
13.11. Conclusions
Bluetooth is a major industrial effort to address wireless device-to-device technology. It is the
next major effort after WAP. Devices, although heterogeneous in construction, will be able to
"talk" to one another through the help of Bluetooth technology. The concept of implanting
Bluetooth technology onto a single chip will allow many devices to be Bluetooth-enabled.
Bluetooth specifications address radio, link control, link management, transport, interfaces,
service discovery, and application issues. We must wait to see if indeed Bluetooth will impact the
way we work, live, and interact with devices. Many applications have yet to be developed and
limitations of Bluetooth may have to be addressed in the future.
file://C:\Users\Senthil\AppData\Local\Temp\~hh17AD.htm 5/14/2011