introduction to bluetooth. outline why bluetooth history bluetooth stack and technology reference

41
Introduction to bluetooth

Upload: regina-dean

Post on 01-Jan-2016

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

Introduction to bluetooth

Page 2: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

outline

Why bluetooth History Bluetooth stack and technology Reference

Page 3: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

bluetooth

Why bluetooth?Cable replacement between devicesOpen SpecificationLow power consumptionConnection can be initiated without user

interactionDevices can be connected to multiple devices

at the same time

Page 4: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

history

The technology was born in 1994

Standardized by the Bluetooth Special Interest Group (SIG),a consortium founded in spring 1998 by Ericsson,Intel,IBM,Nokia,and Toshiba

The first version was released July 1999

Page 5: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Page 6: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Bluetooth stack and OSI layers

Page 7: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Bluetooth StackTransport Protocol group

Radio ,Baseband , L2CAP and HCI

Middleware Protocol group PPP , IP , TCP ,WAP , OBEX, IrDA RFCOMM, TCS, SDP

Application group

Page 8: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Page 9: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Page 10: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Transport Protocol groupAllow Bluetooth devices to locate each other

manage physical and logical links with higher layer protocols and applications

support both asynchronous and synchronous transmission

Page 11: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Middleware Protocol group includes third-party and industry-standard prot

ocols as well as Bluetooth SIG developed protocols

These protocols allow existing and new applications to operate over Bluetooth links

Page 12: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

stack

Application groupConsists of actual applications that use Blueto

oth links

They can include legacy applications as well as Bluetooth-aware applications

Page 13: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Primarily concerned with the design of the Bluetooth transceivers

Bluetooth devices operate on 2.4 GHz Industrial Scientific Medical band (ISM band)

Unlicensed in most countries

Page 14: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Techniques to minimize packet loss:Frequency HoppingAdaptive power controlShort data packets

Page 15: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

TDD (Time Division Duplex)The channel is divided into time slots, each 62

5 μs in lenght, thus the nominal hop rate is 1600 hops/s

When in inquiry or page mode, it hops at 3200 hops/s with a residence time of 312.5 μ sec

Page 16: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Master only transmits in odd slots Slaves only transmit in even slots

Page 17: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

FHSS (Frequency Hopping Spread Spectrum)Divides the ISM-band into 79 1-Mhz channels

Channel 0: 2402 MHz … channel 78: 2480 MHz

Communication between devices switches between available channels

Page 18: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

625 μs

Page 19: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Three power classes defined with max output power from 1 mW (Class 1) to 100 mW (Class 3)

power class 1 : long range (~100m,~100mW)power class 2 : mid range (~10m,~2.5mW)power class 3 : short range (~1m,~1mW)

Page 20: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Packet

Page 21: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Access CodeChannel Access Code (CAC)Device Access Code (DAC) Inquiry Access Code (IAC)

GIAC ( Global IAC) DIAC ( Discovery IAC )

Page 22: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Packet Header AM_ADDR : the active member address in piconet TYPE : kind of code FLOW : flow control ARQN : ACK,NAK SEQN : discriminate duplication of ARQN HEC : Header verify

Payload Data header , data and CRC

Page 23: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Kind of code Normal

ID,NULL,POLL,FHS,DM1

SCO HV1,HV2,HV3,DV

ACL DM1,DH1,DM3,DH3,DM5,DH5,AUX1

Page 24: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Page 25: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

Error Control 1/3FEC(Forward Error Correction) 2/3FEC(Forward Error Correction) ARQ(Automatic Repeat Request)

Page 26: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

radio

ARQ scheme in the ACL link

Page 27: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Defines how Bluetooth devices search for and connect to other devices

Responsible for channel coding/decoding, timing and managing a Bluetooth link

Page 28: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Master/slavePiconet : A master and the slaves

piconet

Page 29: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Scatternet : multiple piconets connected together

scatternet

Page 30: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Communication is only possible between a master and its slaves.

Master determines hopping pattern , slaves have to synchronize

Each piconet has a unique hopping pattern Participation in a piconet = synchronization to hopping

sequence Each piconet has one master and up to 7 simultaneou

s slaves The maximum number of “parked” slaves is 255 per pi

conet

Page 31: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Device connection states

Page 32: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Inquire and Page

Page 33: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

3 power saving modes sniff : slave listens to the channel at a reduced rate (d

ecreasing of duty cycle)-least power efficient Hold : data transfer is held for a specific time period -

medium power efficient park : synchronized to the piconet but does not partici

pate in traffic

Page 34: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

link types Voice link – SCO (Synchronous Connection Oriented)

FEC (forward error correction), no retransmission, 64 kbit/s duplex, point-to-point, single-slot packet size

Data link – ACL (Asynchronous ConnectionLess) Asynchronous, point-to-multipoint, up to 433.9 kbit/s symmetr

ic or 723.2/57.6 kbit/s asymmetric, Variable packet size (1,3,5 slots)

Page 35: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Page 36: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

baseband

Page 37: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

The Link Manager Protocol(LMP)

LMP manages bandwidth allocation for general data bandwidth reservation for audio traffic trust relationships between devices encryption of data control of power usage

Page 38: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

Host Controller Interface (HCI)

This layer is not a required part of the specification

Defines a standard interface for upper level applications to access the lower layers of the stack

Its purpose is to enable interoperability among devices and the use of existing higherlevel protocols and applications

Page 39: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

Logical Link Control and Adaption (L2CAP)

Deals with multiplexing of different services

RFCOMM, SDP, telephony control

segmentation , reassembling of packets Quality of Service Group abstraction

Create/close group, add/remove member

only support ACL connection

Page 40: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

Service Discovery Protocol (SDP)

Inquiry/response protocol for discovering services Searching for and browsing services in radio proximity Adapted to the highly dynamic environment Defines discovery only, not the usage of services Caching of discovered services

Page 41: Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference

Reference

Praktikum Mobile und Verteilte Systeme im Sommersemester 2006 Prof. Dr. C. Linnhoff-Popien, Peter Ruppel, Georg Treu

Bluetooth Steffen Witt and Tobias Julius Neubert

Bluetooth Alessandro Leonardi

Bluetooth Dr.-Ing. H. Ritter,

“What is Bluetooth” Patricia McDermott-Wells