Professional Documents
Culture Documents
(Jon Inouye) Introduction To Bluetooth™ Wireless PDF
(Jon Inouye) Introduction To Bluetooth™ Wireless PDF
Wireless Technology
Jon Inouye
Staff Software Engineer
Mobile Platforms Group
Intel Corporation
Bluetooth
Bluetoothisisaatrademark
trademarkowned
ownedby
byBluetooth
BluetoothSIG
SIGInc.
Inc.USA
USA
IEEE Oregon Section Bluetooth Seminar April 27, 2001
Radio Technology
l
Cellular
Licensed spectrum
Voice driven
Data services emerging
E.g., 3G, GPRS, WAP*
Wireless LAN
Proliferation occurring
E.g., IEEE 802.11b
WWAN
Km
WLAN
100
m
text
text
WPAN
10 m
Wireless PAN
Relative newcomer
E.g., Bluetooth*, 802.15
WHAT IS BLUETOOTH?
Applications
Data
Audio
Co
ntro
l
L2CAP
Link Manager
Baseband
RF
l
a hardware description
an application framework
IEEE Oregon Section Bluetooth Seminar April 27, 2001
OUTLINE
l Radio
l Baseband
l Connection Management
l Channel Operation
l Piconet Management
l Software Stack
l Profiles
RADIO
l Modulation
l binary FSK
l Gaussian shaping
l BT = 0.5; 0.28 < h < 0.35
l -20dB bandwidth of 1 MHz
IEEE Oregon Section Bluetooth Seminar April 27, 2001
l Receiver sensitivity
l -70 dBm @ 0.1% BER
BASEBAND OPERATIONS
DISCOVERY
AND
CONNECTION ESTABLISHMENT
INQUIRY
l Radio wanting to discover other radios
l Repetitively probe first set of 16 frequencies
l Probes two frequencies every 625 microseconds
l Repeat at least 256 times
l Repetitively probe second set of 16 frequencies
l Repeat entire cycle at least two times
INQUIRY OPERATION
10
CREATING A PICONET
page
B
11
CREATING A PICONET
master A
connected
slave B
12
CREATING A PICONET
slave C
slave D
master A
slave B
13
OPERATIONAL STATES
master
active slave
parked slave
standby
IEEE Oregon Section Bluetooth Seminar April 27, 2001
14
ADDRESSING
l Bluetooth Device Address (BD_ADDR)
l 48-bit IEEE 802 address
l 24-bit lower address part (LAP)
l 8-bit upper address part (UAP)
15
BASEBAND OPERATIONS
PICONET CHANNEL
16
FH/TDD CHANNEL
f(2k)
f(2k+1)
f(2k+2)
master
t
slave
t
625 s
17
FREQUENCY HOPPING
freq
2.402
2.480
master
slave
time
18
PHYSICAL CHANNEL
l master BD_ADDR hop sequence
l master CLOCK
phase
slave 2
slave 1
master
slave 3
slave 4
19
HOP SELECTION
phase
NATIVE CLK
HOP
sequence
offset
MASTER BD_ADDR
20
PACKET FORMAT
72b
0-2745b
54b
payload
21
ACCESS CODE
34
24
PRT
LAP
BRK
PREAMBLE
LSB
64
SYNC WORD
TRAILER
MSB
22
unit identifier
l derived from unit LAP
l
l Channel
channel identifier
l derived from master LAP
l
l Inquiry
reserved identifier
l derived from reserved address
l
23
PACKET HEADER
3
AM_ADDR
TYPE
FLOW
parameter
AM_ADDR
ARQN
SEQN
HEC
information
slave active member address
TYPE
payload type
FLOW
LC flow control
ARQN
ACK/NAK
SEQN
retransmit ordering
HEC
24
Purpose:
Mixing:
MULTI-MEDIA SUPPORT
l circuit switching
l packet switching
25
26
ACL
SCO
ACL
ACL
SCO
SCO
ACL
MASTER
SLAVE 1
SLAVE 2
SLAVE 3
27
PACKET TYPES
segment
type
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
NULL
POLL
FHS
DM1
DH1
HV1
HV2
HV3
DV
AUX1
DM3
DH3
DM5
DH5
28
MULTI-SLOT PACKETS
625 s
f(k)
f(k+1)
f(k+2)
f(k)
f(k+3)
f(k+4)
f(k+5)
f(k+3)
f(k+4)
f(k+5)
f(k)
f(k+5)
29
symmetric
asymmetric
DM1
108.8
108.8
108.8
DH1
172.8
172.8
172.8
DM3
258.1
387.2
54.4
DH3
390.4
585.6
86.4
DM5
286.7
477.8
36.3
DH5
433.9
723.2
57.6
30
31
FHS PACKET
l BD_ADDR
l DAC
l AM_ADDR
l class of device
l paging class
l real-time clock
32
ERROR CORRECTION
l Forward-Error Correction (FEC)
l 1/3 rate: bit-repeat code
l 2/3 rate: (15,10) shortened Hamming code
33
ARQ OPERATION
A
MASTER
SLAVE 1
SLAVE 2
NAK
ACK
34
1 1 0 0 0 0 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 . . . . . . .
35
BASEBAND OPERATIONS
PICONET MANAGEMENT
36
OPERATIONAL STATES
l
stand-by, scan
page, inquiry
connection
active
l hold
l sniff
l park
l
37
Standby
De
tac
h
Inquire
Connecting
States
Discover radios
l
Page
Active
States
Page
Transmit
data
AMA
Ttypical=0.6s
Connected
AMA
Connected
Ttypical=2 ms
Active on a piconet
l
Inquiry
Ttypical=10.25s
Standby
Park/Hold/Sniff
Low Power connected states
Low Power
States
Releases
AMA
Address
PARK
PMA
Ttypical=2 ms
SNIFF
HOLD
AMA
38
HOLD MODE
ACL
ACL
ACL
ACL
ACL
ACL
ACL
MASTER
LOST
SLAVE 1
HOLD INTERVAL
SLAVE 2
39
SNIFF MODE
ACL
ACL
ACL
MASTER
LOST
SLAVE 1
SNIFF INTERVAL
SLAVE 2
40
PARK MODE
active slave
master
parked slaves
l BEACON
l PM_ADDR
41
PARK MODE
PARK INTERVAL
BC
ACL
ACL
BC
MASTER
SLAVE X
SLAVE 2
SLAVE Y
42
SCATTERNET
slave 3
slave 1
slave 6
master A
slave 4 / master B
slave 5
slave 2
43
BASEBAND OPERATIONS
SECURITY
44
SECURITY COMPONENTS
Authentication
Payload encryption
Key handling
45
AUTHENTICATION
l
Challenge-response system
Algorithm E1:
l Input: RAND (128 bit), Claimant addr. (48 bit),
link key (128)
SRES (32 bit), ACO (96 bit)
l Output:
46
ENCRYPTION
l
Stream ciphering
Algorithm E0:
l Input: RAND (128 bit), master addr./clock,
Kc (128 bit)
l Output: cipher stream
Point-to-point or point-to-multipoint
47
KEY TYPES
Link
Linkkeys
keys
Encryption
Encryption key
key
Temporary
Temporary
Master
Master
Key
Key
Semi-permanent
Semi-permanent
Unit
Unit
Key
Key
Combination
Combination
Key
Key
Initialization
Initialization
Key
Key
48
RADIO/BB SUMMARY
l Frequency hopping radio at 2.4 GHz
l Intrinsic support for voice and data
l Maximum 723 Kbps MAC throughput
l Low power modes
l Point-to-multipoint configuration
l Support of basic security mechanisms
49
SOFTWARE STACK
50
Outline
l
l
l
l
51
Software Architecture
Applications
SDP
RFCOMM
Cover This
Co
ntro
l
TCS
Data
L2CAP
Audio
Link Manager
LMP
LMP
Baseband
RF
IEEE Oregon Section Bluetooth Seminar April 27, 2001
52
53
Outline
l
l
l
l
Software goals
Protocol Review
Profile Review
Summary
54
HID
Service Discovery
WAE
vCard/vCal*
WAP*
OBEX*
TCP/UDP
Audio
Printing
RFCOMM
IP
TCS
L2CAP
55
HCI
Bluetooth Host
Host Drives and Applications
Host Controller
Interface (HCI)
provides a common
interface between
the Bluetooth Host
and the Bluetooth
Module
HCI
Transport Bus
HCI Transport Firmware
Bluetooth Radio
Bluetooth Module
56
57
L2CAP Architecture
l
Connection-oriented
Channel identifier (CID) used to label each connection
endpoint
Channels may be uni-directional or bi-directional
QoS flow specification assigned to each channel direction
Connectionless
Supports group abstraction
58
L2CAP Channels
Connection-Oriented Data Channel
Connectionless Data Channel
CID
Device #1
CID
CID
CID
CID
L2CAP
CID
L2CAP
CID
L2CAP
Device #2
CID
CID
L2CAP
L2CAP
Device #3
Device #4
59
60
Service Discovery
l
Two parts
Service record format
Information about service provided by attributes
Attributes composed of an ID and a value
Ids may be universally unique identifiers (UUID)
Session protocol for enabling discovery
Searching for and browsing services
61
Client
ServiceSearchRequest(SearchPattern)
ServiceSearchResponse(ServiceRecordHandleList)
ServiceAttributeRequest(ServiceRecordHandle,
AttributeIDList)
ServiceAttributeResponse(AttributeList)
62
SDP Scope
l
*Third-party marks and brands are the property of their respective owners.
63
RFCOMM
l
64
TCS Protocol
l Telephony
Group management
Call Control
Gateway may serve more
Call setup and release
cordless devices
Symmetrical derivative of
Distributes group information
Q.931
65
TCS Impact
l
Intercom
Supports direct phone-to-phone communication
66
67
Outline
l
l
l
l
Software goals
Protocol Review
Profile Review
Summary
68
69
Profiles
l
l
l
l
70
Relationship
between
Protocols
and Profiles
Protocols
Applications
Profiles
IEEE Oregon Section Bluetooth Seminar April 27, 2001
71
Cordless Phone
Profile
Intercom Profile
Headset Profile
Synchronization
Profile
72
RFCOMM
L2CAP
LMP
ACL
SCO
Bluetooth Baseband
IEEE Oregon Section Bluetooth Seminar April 27, 2001
73
Software Summary
l Protocols
l Profiles
l Existing
74