Professional Documents
Culture Documents
Basic idea
Universal radio interface for ad-hoc wireless connectivity Interconnecting computer and peripherals, handheld devices, PDAs, cell phones replacement of IrDA Embedded in other devices, goal: 5/device (already < 1) Short range (10 m), low power consumption, license-free 2.45 GHz ISM Voice and data transmission, approx. 1 Mbit/s gross data rate
7.1
Topology
Overlapping piconets (stars) forming a scatternet 7.2
Piconet
Collection of devices connected in an ad
hoc fashion
P S M P S P SB
SB
Participation in a piconet =
M=Master S=Slave
P=Parked SB=Standby
7.3
Forming a piconet
Addressing
Active Member Address (AMA, 3 bit) Parked Member Address (PMA, 8 bit)
SB SB
SB SB SB
S SB
P S M P SB P S
SB SB
SB SB
7.4
Scatternet
7.5
vCal/vCard OBEX
telephony apps.
mgmnt. apps.
AT modem commands
TCS BIN
SDP Control
7.6
Radio Layer
Rather a short document Only defines the carrier frequencies and output power Bluetooth is targeted to low power devices And yes, for interoperable licensed channels
So 2.4 GHz
Uses FHSS for transmission The time between hops is 625 microseconds Bluetooth power is available in three classes
Power class 1 (1~100mW) Power class 2 (0.25~2.5mW, typically 1mW) Power class 3 (max 1mW)
7.7
fk M
fk+1 S
fk+6 M t
7.8
Baseband
Packet header
1/3-FEC, active member address (broadcast + 7 slaves), link type, alternating bit ARQ/SEQ, checksum
68(72) 54 0-2745 payload bits access code packet header
4 preamble
64
(4)
4 type
1 flow
1 ARQN
1 SEQN
8 HEC
bits
7.9
AM address is a 3 bit active member address Master to slave the address is the receiver address Slave to master the address is the sender address
0000 value broadcast Type type of packet (e.g. control packets) Flow (1 halt ACL transmission, 0 resume) ARQN (1 ACK, 0 NACK) for ACL transmissions 0/1
SEQN (Sequential number) packets are labeled between HEC header error control
7.10
Baseband link types Polling-based TDD (time division duplex) packet transmission SCO (Synchronous Connection Oriented) Voice ACL (Asynchronous ConnectionLess) Data
625s slots, master polls slaves Periodic single slot packet assignment, 64 kbit/s full-duplex, pointto-point Variable packet size (1, 3, 5 slots), asymmetric bandwidth, pointto-multipoint
SCO f0 ACL f4 SCO f6 ACL f8 SCO f12 ACL f14 SCO f18 ACL f20
MASTER
SLAVE 1
f1
f7
f9
f13
f19
SLAVE 2
f5
f17
f21
7.12
Retransmission
ACL only Forward Error Correction
SCO and ACL
MASTER
A C C F H
SLAVE 1
SLAVE 2
7.13
encryption), key size, etc. Synchronization clock offset is updated Capability negotiation Not all features are supported, so devices need to agree the usage of e.g. multi-slot packets, etc. Quality of service negotiation e.g. limit number of slots for slave answers, latency control, FEC protection or no protection, etc. Power control Decrease transmissions according to battery power Link supervision set up new SCO links, destroy State transition changing from unconnected, connected, active and low power modes
7.14
detach
inquiry
page
connecting
transmit AMA
connected AMA
active
park PMA
hold AMA
sniff AMA
low power
Standby: do nothing Inquire: search for other devices Page: connect to a specific device Connected: participate in a piconet
Park: release AMA, get PMA Sniff: listen periodically, not each slot Hold: stop ACL, SCO still possible, possibly participate in another piconet
7.15
L2CAP - Logical Link Control and Adaptation Protocol Simple data link protocol on top of baseband Connection oriented, connectionless, and signaling channels
Employed to send messages between L2CAP entities
Group abstraction
Create/close group, add/remove member
7.16
Slave L2CAP
2 d 1
Master L2CAP
1 d d d d 1
Slave L2CAP
1 d d 2
baseband
baseband
baseband
signalling
ACL
connectionless
connection-oriented
7.17
Security
User input (initialization) PIN (1-16 byte) E2 link key (128 bit) E3 encryption key (128 bit) Keystream generator payload key Data Ciphering Cipher data Data Pairing Authentication key generation (possibly permanent storage) Authentication Encryption key generation (temporary storage) Encryption PIN (1-16 byte) E2 link key (128 bit) E3 encryption key (128 bit) Keystream generator payload key
7.18
7.19
Service Discovery Application Profile Cordless Telephony Profile Serial Port Profile Headset Profile Dial-up Networking Profile Profiles Fax Profile Additional Profiles LAN Access Profile PAN Generic Object Exchange Profile Audio Video Remote Control Basic Printing Object Push Profile Basic Imaging File Transfer Profile Extended Service Discovery Synchronization Profile
l oc o t or P
Profiles
7.20
7.21