What's With The Name?
What's With The Name?
What's With The Name?
10
Bluetooth Protocol Stack
Application
Applications
Presentation Layer
RFCOMM/SDP
Session Layer
L2CAP
Link Controller
Data Link Layer
Baseband
PHY
RF
OSI/ISO
11
Bluetooth Layers
• Radio: physically transmits/receives data.
• Baseband/Link Controller: controls PHY.
• Link Manager: controls links to other
devices.
• Host Controller:e2e communication.
• Logical Link Control:
multiplexes/demultiplexes data from higher
layers.
• RFCOMM: RS323-like serial interface.
• SDP: allows service discovery among
12
Bluetooth devices.
The Bluetooth PHY
13
Radio Band
• 2.4 GHz license-free ISM band.
• Available worldwide.
• Industrial, Scientific, Medical (ISM) band.
– Unlicensed, globally available.
– Centered around 2.4 GHz.
• Resilient to interference.
• Frequency hopping.
• Range: 10, 20, and 100m.
• 1MB/s.
14
Unlicensed Radio Spectrum
33cm 12cm 5cm
15
Bluetooth Radio Link
1Mhz
. . .
12 3 79
83.5 Mhz
• MA scheme: Frequency hopping spread spectrum.
– 2.402 GHz + k MHz, k=0, …, 78
– 1,600 hops per second.
– 1 Mb/s data rate.
16
BT Radio Link (Cont’d)
• Time-division duplex (TDD)
– Separation of Xmission and reception in time.
– Units alternate transmits and receives.
• Gaussian Frequency Shift Keying (G-FSK)
modulation.
– ‘1’s as positive frequency deviations from
carrier frequency; ‘0’s as negative deviations.
17
Multiple Access
18
Baseband
Control end of baseband
Applications +link controller=
Data link layer
RFCOMM/SDP
L2CAP
Link Manager
Carries out MAC
functions.
Link Controller
Baseband
RF
19
Master and Slaves
• Communicating devices must agree on
hopping sequence.
• BT devices can operate as masters or slaves.
• Master node defines sequence to be used.
• Slave units use master id to pick sequence.
• Master also controls when devices are
allowed to transmit.
– Master allocates slots to slaves.
– Allocates total available bandwidth among
slaves.
20
Piconets
• BT communication takes place over piconets.
• Piconet formation initiated by master.
• All other participants are slaves.
• Number of participants limited to 8 (1 master and 7
slaves).
– Channel capacity and addressing overhead.
– Each slave assigned a locally unique ID.
• Master/slave roles last for the duration of the piconet.
21
Contention-Free MA
• Master and slaves.
• Master performs medium access control.
– Schedules traffic through polling.
• Time slots alternate between master and slave
transmission.
– Master-slave: master includes slave address.
– Slave-master: only slave chosen by master in previous
master-slave slot allowed to transmit.
– If master has data to send to a slave, slave polled implicitly;
otherwise, explicit poll.
22
BT States
Transmit Connected
Active
Sniff
Park Hold
Low power
23
Bluetooth Link Formation
• Point-to-point link: m s
– Master-slave relationship.
m
• Piconet:
– 8 units: channel capacity. s s
s
– Master (establishes piconet) can
connect to up to 7 slaves.
– Master/slave relationship lasts while
link/piconet lasts.
– No slave-to-slave communication.
24
Link Types
• 2 types of links:
– Synchronous (SCO) links:
• Point-to-point between master and slave.
• Link established by reserving slots in either direction
periodically.
• Used to carry real-time traffic (voice).
– Asynchronous (ACL) links:
• Point-to-multipoint between master and slaves.
• Use remaining slots on channel.
• Traffic scheduled by master.
25
Link Controller and Link
Manager
Applications
RFCOMM/SDP
L2CAP
Attaching/detaching slaves from
piconet; power management; security.
Host Controller Interface
Link Manager
Carries out inquiry and paging
Link Controller operations; manages multiple
links and different piconets.
Baseband
RF
26
Power Management
• Low-power modes: prolong battery life.
– Devices can be turned-off when idle.
– Devices wake up periodically to send/receive
data.
27
Security
• Authentication and encryption.
• LMP provides mechanisms for negotiation
of encryption modes, keys, etc.
28
Host Controller Interface
Applications
Optional interface layer
between higher and lower
RFCOMM/SDP layers of the BT stack.
L2CAP
Link Manager
E.g., when lower- and higher
Link Controller BT layers run on different
Devices: PCMCIA card and
PC’s processor.
Baseband
RF
29
L2CAP
Applications
RFCOMM/SDP
Logical Link Control and
L2CAP Adaptation Protocol=
Session Layer.
Link Manager
Link Controller
L2CAP provides
Baseband • Protocol multiplexing
• Quality of service negotiation
RF
30
RFCOMM/SDP
Applications
RFCOMM/SDP
L2CAP
Service discovery, serial port
interface. Host Controller Interface
Link Manager
Link Controller
Baseband
RF
31
How Does It Work?
• Bluetooth is a standard
for tiny, radio frequency
chips that can be plugged
into your devices
• These chips were designed to
take all of the information that
your wires normally send, and
transmit it at a special
frequency to something
called a receiver
Bluetooth chip.
• The information is then transmitted to your device
SPECIFICATIONS
– Application Specifications
• These specifications include the following
• Profiles Cordless Telephony
• Serial Port
• Headset
• Intercom
• Dialup Networking
• Fax
• File Transfer
• Service Discovery Application
• Generic Access
Power Management Benefits
• Cable Replacement
– Replace the cables for peripheral devices
• Ease of file sharing
– Panel discussion, conference, etc.
• Wireless synchronization
– Synchronize personal information contained in the address
books and date books between different devices such as
PDAs, cell phones, etc.
• Bridging of networks
– Cell phone connects to the network through dial-up
connection while connecting to a laptop with Bluetooth.
Bluetooth Devices
Optical 850
Spectrum 2.4GHz
nano meters