Escolar Documentos
Profissional Documentos
Cultura Documentos
OE-II
UNIT V: PROTOCOLS AND TOOLS
• Bluetooth
• user scenarios
• Architecture
• Radio layer
• Baseband layer
• Link manager protocol
• L2CAP
• Security
• SDA
• Profiles
• Wireless application protocol
• Architecture
• wireless datagram protocol
• wireless transport layer security
• wireless session protocol
• wireless application environment
• wireless mark-up language
Bluetooth
• User scenarios
• Architecture
• Radio layer
• Baseband layer
• Link manager protocol
• L2CAP
• Security
• SDA
• Profiles
Introduction
• Bluetooth technology aims at so-called ad-hoc piconets
• which are local area networks with very limited coverage
• without the need for an infrastructure
• This network is needed to connect
• different small devices in close proximity (about 10 m)
• without expensive wiring or need for wireless infrastructure
• Gross data rate is 1 Mbit/s
• asynchronous (data)
• synchronous (voice) services should be available
• Necessary transceiver components should be cheap
Piconet
• One unit acts as master of Piconet
• whereas others acts as slaves
• Up to seven slaves can be active
• Via piconet
• fileserver could update
• local information stored on
laptop or PDA
• while person is walking into office
Architecture - 1
• Bluetooth operates on 79 channels in 2.4 GHz band
• with 1 MHz carrier spacing
Data
L2CAP
Audio
Link Manager
Baseband
RF
Radio layer - 1
• Radio specification is rather short document (less than ten pages)
• only defines carrier frequencies and output power
Data
L2CAP
Audio
Link Manager
Baseband
RF
Baseband layer - 1
• Functions of baseband layer are
quite complex
• as it not only performs frequency
hopping
• for interference mitigation and
medium access
• but also defines physical links and
many packet formats
• Figure shows examples of
frequency selection
• during data transmission
Baseband layer - 2
• Each device participating in
certain piconet
• hops at same time
• to same carrier frequency (fi)
• Sniff state
• sniff state has highest power consumption of low power states
• device listens to piconet at reduced rate (not on every other slot as is the case in
active state)
• interval for listening into medium can be programed and is application dependent
• master designates reduced number of slots for transmission to slaves in sniff state
• device keeps its active member address (AMA)
Link Manager Protocol - 3
• Hold state
• device does not release its AMA but stops ACL transmission
• slave may still exchange SCO packets
• If there is no activity in piconet
• slave may either reduce power consumption or participate in another piconet
• Park state
• In this state device has lowest duty cycle and lowest power consumption
• device releases its AMA and receives parked member address (PMA)
• device is still a member of piconet
• but gives room for another device to become active (AMA is only 3 bit, PMA 8 bit)
• Parked devices are still FH synchronized
• wake up at certain beacon intervals for re-synchronization
• All PDUs sent to parked slaves are broadcast
L2CAP - 1
Applications Logical Link Control and
IP Adaptation Protocol
SDP RFCOMM
Data
• L2CAP provides
L2CAP • Protocol multiplexing
Audio
Link Manager • Segmentation and Re-assembly
• Quality of service negotiation
Baseband • Group abstraction
RF
Link Manager Protocol - 2
• Logical link control and adaptation protocol (L2CAP)
• data link control protocol on top of baseband layer
• offering logical channels between Bluetooth devices with QoS properties
• L2CAP is available for ACLs only
• Audio applications using SCOs have to use the baseband layer directly
• L2CAP provides three different types of logical channels that are transported via
ACL between master and slave:
• Connectionless: unidirectional channels are used for broadcasts from master to its slave(s)
• Connection-oriented: bi-directional and supports QoS flow specifications for each direction
• Signalling: used to exchanging signalling messages between L2CAP entities
L2CAP Packet Format (CO)
15 bits 16 bits 0 - 64K bytes
protocol/service
multiplexor (PSM)
Baseband packets
Security - 1
• Radio interface is by nature easy to access
• Bluetooth devices can transmit private data
• e.g., schedules between PDA and mobile phone
• User clearly does not want another person to eavesdrop data transfer