Documente Academic
Documente Profesional
Documente Cultură
BLUETOOTH
Overview
Radio specification
Base band specification
Links manager specification
Logical link control and
Adaptation protocol
Overview
• Initially developed by Ericsson in 1994
• Using 2.4 GHz band (up to 720 kbps, 10m)
• Provide consumer with the ability to do
– Make calls from a wireless headset connected remotely to a
cell phone
– Eliminate cables linking computers to printers, keyboards,
and the mouse
– Hook up MP3 players wirelessly
– Set up home networks
– Call home from a remote location to turn appliances on and
off, set the alarm, and monitor activity
Bluetooth Application Areas
• Data and voice access points
– Real-time voice and data transmissions
• Cable replacement
– Eliminates need for numerous cable attachments
for connection
• Ad hoc networking
– Device with Bluetooth radio can establish
connection with another when in range
Bluetooth Standards Documents
• Core specifications
– Details of various layers of Bluetooth protocol
architecture.
• Profile specifications
– Use of Bluetooth technology to support various
applications.
Protocol Architecture
of:
– Core protocols
– Adopted protocols
Bluetooth Protocol Stack
Core Protocols
• Radio
– Details of the air interface, including frequency, the use of
frequency hopping, modulation scheme, and transmit
power.
• Baseband
– Concerned with connection establishment within a piconet,
addressing, packet format, timing and power control.
• Link Manager Protocol (LMP)
– Responsible for link setup between Bluetooth devices and
ongoing link management.
• Security aspects: authentication and encryption.
• Control and negotiation of baseband packet sizes.
Core Protocols (cont…)
• Logical Link Control and Adaptation Protocol (L2CAP)
– Adapts upper-layer protocols to the baseband layer.
– Provide both connectionless and connection-oriented
services.
• Adopted protocols
– PPP (Point-to-Point Protocol): Internet standard
protocol for transporting IP datagrams over point-
to-point link.
– TCP/UDP/IP
• Trailer
– 0101 if MSB of sync word is 1
– 1010 if MSB of sync word is 0
Baseband Specification (cont)
• Packet Header
– AM_ADDR
• 3-bit AM_ADDR contains the “active mode” address
(temporary address assigned to this slave in this
piconet) of one of the slaves
• A transmission from the master to a slave contains
that slave’s address
• A transmission from a slave contains its address
• The value 0 is reserved for a broadcast from the
master to all slaves in the piconet
– Type
• Identifies the type of packet
• For SCO: HV1, HV2, HV3
Baseband Specification (cont)
– Flow
• Provides a 1-bit flow control mechanism for ACL traffic
only
– ARQN
• Provides a 1-bit acknowledgement mechanism for ACL
traffic protected by a CRC
• If the reception was successful, an ACK (ARQN=1) is
returned; otherwise a NAK (ARQN=0) is returned
– SEQN
• Provides a 1-bit sequential numbering scheme
– HEC (Header Error Control)
• An 8-bit error detection code used to protect the packet
Baseband Specification (cont)
Data Payload Header Format
Baseband Specification (cont)
• Payload Format
– Payload header
• An 8-bit header is defined for single-slot packets, and
a 16-bit header is defined for multislot packets
• Payload Header
– L_CH: identifies the logical channel
• Page procedure
– Once the master has found devices within its range, it is able
to establish connections to each device, setting up a piconet.
Slave Connection State Modes
59
Link Manager Specification (cont)
60
Logical Link Control and Adaptation
Protocol (L2CAP)
• Connection-oriented
– Supports connection-oriented service
– Each channel is bidirectional
• Signaling
– Provides for exchange of signaling messages between L2CAP
L2CAP Formats
L2CAP Packet Fields for Connectionless
Service