Professional Documents
Culture Documents
Networks
CMPE 257
Spring 2006
Bluetooth
CMPE257WirelessandMobileNetworking
Announcements
Access to QualNet.
Two options:
CMPE257WirelessandMobileNetworking
Today
Bluetooth.
CMPE257WirelessandMobileNetworking
Bluetooth
CMPE257WirelessandMobileNetworking
Overview
Cable replacement technology.
Connect devices such as phone handsets,
headsets, computer peripherals, etc.
Industry standard.
Allows wireless communication between
devices.
CMPE257WirelessandMobileNetworking
1 Mb/s.
Range ~10 meters.
PANs
Single chip radio.
CMPE257WirelessandMobileNetworking
Applications: Synchronization
Automatic synchronization of
calendars, address books,
business cards.
CMPE257WirelessandMobileNetworking
Applications: Cordless
Headset
Multiple device
access.
Hands-free operation.
CMPE257WirelessandMobileNetworking
Cordless
headset
More applications
Conference table.
Cordless computer.
Instant photo transmission.
Cordless phone.
CMPE257WirelessandMobileNetworking
Bluetooth Origins
Study by Ericsson Mobile Communications in
1994.
Alternatives to cables connecting mobile
phones to accessories.
Use of radio links instead of infrared.
Why?
CMPE257WirelessandMobileNetworking
10
CMPE257WirelessandMobileNetworking
11
CMPE257WirelessandMobileNetworking
12
More History
Recently, IEEE 803.15.1 standard for
Wireless PANs (WPANs)
Only MAC and PHY.
CMPE257WirelessandMobileNetworking
13
Open spec.
Low cost.
Goals
Power efficiency.
Lightweight and small form factor.
Easy to use.
Reliable and resilient to failures.
CMPE257WirelessandMobileNetworking
14
CMPE257WirelessandMobileNetworking
15
L2CAP
Host Controller Interface
Link Manager
Link Controller
Baseband
RF
Application
PresentationLayer
SessionLayer
TransportLayer
NetworkLayer
DataLinkLayer
PHY
OSI/ISO
CMPE257WirelessandMobileNetworking
16
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
Bluetooth devices.
CMPE257WirelessandMobileNetworking
17
CMPE257WirelessandMobileNetworking
18
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.
CMPE257WirelessandMobileNetworking
19
33cm
26 Mhz
902 Mhz
12cm
83.5 Mhz
2.4 Ghz
2.4835 Ghz
928 Mhz
cordless phones
baby monitors
Wireless LANs
802.11
Bluetooth
Microwave oven
CMPE257WirelessandMobileNetworking
5cm
125 Mhz
5.725 Ghz
5.785 Ghz
unused
20
12 3
83.5 Mhz
CMPE257WirelessandMobileNetworking
21
CMPE257WirelessandMobileNetworking
22
Multiple Access
BT targets large number of independent
communications active in the same area at the same
time.
Single FH channel: 1 Mb/s.
Each 1Mb/s channel shared by limited number of
participants.
In target user scenarios, its unlikely that all units inrange will share data among all of them.
1 MB/s is reasonable. (is it?)
CMPE257WirelessandMobileNetworking
23
Baseband
Applications
RFCOMM/SDP
L2CAP
Baseband
RF
CMPE257WirelessandMobileNetworking
24
CMPE257WirelessandMobileNetworking
25
Piconets
CMPE257WirelessandMobileNetworking
26
More on Piconets
On a piconet, slaves only have direct links to
master.
Point-to-point or point-to-multipoint
connections.
CMPE257WirelessandMobileNetworking
27
Piconets: Considerations
Most target applications involve local
communication among small group of
devices.
Piconets with up to 8 nodes match well.
If many groups of devices active
simultaneously, each group as separate
piconet.
Overlapping piconets can coexist.
CMPE257WirelessandMobileNetworking
28
Contention-Free MA
Master and slaves.
Master performs medium access control.
Schedules traffic through polling.
CMPE257WirelessandMobileNetworking
29
BT States
Standby
Inquiry
Unconnected
Page
Transmit Connected
Park
Hold
Connecti
ng
Active
Snif
Low power
CMPE257WirelessandMobileNetworking
30
Inquiry
Device discovery
CMPE257WirelessandMobileNetworking
31
Paging
Master
Device enters paging to invite others to join
its piconet.
Establishes links with nodes in proximity.
Paging message unicast to selected receiver.
Receiver sends ACK.
Sender becomes master, receiver slave.
CMPE257WirelessandMobileNetworking
Active Slave
Parked Slave
Standby
32
CMPE257WirelessandMobileNetworking
33
Master-slave relationship.
s
m
Piconet:
CMPE257WirelessandMobileNetworking
34
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).
CMPE257WirelessandMobileNetworking
35
Error Control
Supports both FEC and retransmission.
FEC for SCO packets.
ARQ for ACL traffic.
If no ACKs, retransmit.
Stop-and-wait ARQ.
Fast-ARQ: ACK included in RX slot immediately
following the TX slot in which packet was sent.
CMPE257WirelessandMobileNetworking
36
Packet Format
72 bits 54 bits
Access
code
No CRC
No retries
FEC (optional)
Header
Voice
625 s
0 - 2744 bits
Payload
header
Data
CRC
ARQ
FEC (optional)
master
slave
CMPE257WirelessandMobileNetworking
37
Access Code
72 bits
Access
code
Header
Payload
CMPE257WirelessandMobileNetworking
38
Packet Header
m
54 bits
Access
code
Payload
Header
Purpose
Addressing
Packet type
Flow control
1-bit ARQ
Sequencing
HEC
(3)
(4)
(1)
(1)
(1)
(8)
total
18 bits
CMPE257WirelessandMobileNetworking
39
Multiple Piconets
Piconets may overlap in space and time.
They can work independently.
Each with its own hopping sequence.
Packets with different access codes.
CMPE257WirelessandMobileNetworking
40
Scatternets
Interconnection of multiple piconets.
Slave
Master
CMPE257WirelessandMobileNetworking
41
Scatternets (contd)
Interconnection by bridge nodes.
CMPE257WirelessandMobileNetworking
42
L2CAP
Host Controller Interface
Attaching/detachingslavesfrom
piconet;powermanagement;security.
Link Manager
Link Controller
Baseband
RF
CMPE257WirelessandMobileNetworking
Carriesoutinquiryandpaging
operations;managesmultiple
linksanddifferentpiconets.
43
Power Management
Low-power modes: prolong battery life.
Devices can be turned-off when idle.
Devices wake up periodically to send/receive
data.
CMPE257WirelessandMobileNetworking
44
Low-Power Operation
3 modes:
Hold: node sleeps for specified interval.
Master can put slaves in hold while searching for new members,
attending another piconet, etc.
No ACL packets.
Park:
CMPE257WirelessandMobileNetworking
45
Security
Authentication and encryption.
LMP provides mechanisms for negotiation of
encryption modes, keys, etc.
CMPE257WirelessandMobileNetworking
46
Applications
RFCOMM/SDP
L2CAP
Baseband
RF
CMPE257WirelessandMobileNetworking
E.g.,whenlowerandhigher
BTlayersrunondifferent
Devices:PCMCIAcardand
PCsprocessor.
47
L2CAP
Applications
RFCOMM/SDP
L2CAP
Host Controller Interface
Link Manager
Link Controller
Baseband
RF
CMPE257WirelessandMobileNetworking
L2CAP provides
Protocol multiplexing
Quality of service negotiation
48
RFCOMM/SDP
Applications
RFCOMM/SDP
L2CAP
Link Controller
Baseband
RF
CMPE257WirelessandMobileNetworking
49
References:
Bluetooth papers in reading list.
Johansson and Gerlas Bluetooth Tutorial at
Mobicom 2001.
Bluetooth 1.1: Connect Without Cables, Bray
and Sturman.
CMPE257WirelessandMobileNetworking
50
Features
Applications
Cost
Toshiba,
Motorola,
Digianswer
20 dBm (~100 m)
Point-to-multipoint
No Scatternet
0 dBm (~10 m)
Point-to-multipoint
No Scatternet
10 m user-user;
100 m user-Base Station
Point-to-multipoint
SW&FWupgradeable
10 m user-user;
Point-to-point
ConnectivityBattery
forthecellphone
10 m user-user;
Point-to-point;
ARM processor;
USB; RFCOMM ports
File Transfer,
Dial-Up Networking
LAN access, Fax,
File Transfer,
Dial-Up Networking
LAN access, Fax,
File Transfer,
Dial-Up Networking
LAN access, Fax, E-mail
Unconscious connection
File Transfer,
Dial-Up Networking
LAN access, Fax, E-mail
Unconscious connection
169 $
--200 $
500 $
IBM, TDK
3COM
Nokia
Ericsson,
Sigma
CMPE257WirelessandMobileNetworking
169 $
---
149 $
149 $
1500$
51