Docsity

Wireless Networks Spring 2005: Bluetooth and Mobile IP, Exams of Mathematics

Partial preview of the text

Download Wireless Networks Spring 2005: Bluetooth and Mobile IP and more Exams Mathematics in PDF only on Docsity!

Bluetooth and Mobile IP

Bluetooth

 (^) Consortium: Ericsson, Intel, IBM, Nokia, Toshiba…  (^) Scenarios: o (^) connection of peripheral devices

  • (^) loudspeaker, joystick, headset o (^) support of ad-hoc networking
  • (^) small devices, low-cost o bridging of networks
  • (^) e.g., GSM via mobile phone - Bluetooth - laptop  (^) Simple, cheap, replacement of IrDA, low range, lower data rates, low- power o (^) Worldwide operation: 2.4 GHz o (^) Resistance to jamming and selective frequency fading:
  • (^) FHSS over 79 channels (of 1MHz each), 1600hops/s o (^) Coexistence of multiple piconets: like CDMA o (^) Links: synchronous connections and asynchronous connectionless o (^) Interoperability: protocol stack supporting TCP/IP, OBEX, SDP o Range: 10 meters, can be extended to 100 meters  (^) Documentation: over 1000 pages specification: www.bluetooth.com

Protocol Architecture

 Bluetooth is a layered protocol architecture

o (^) Core protocols o (^) Cable replacement and telephony control protocols o (^) Adopted protocols

 Core protocols

o (^) Radio o (^) Baseband o (^) Link manager protocol (LMP) o Logical link control and adaptation protocol (L2CAP) o (^) Service discovery protocol (SDP)

Protocol Architecture

 Cable replacement protocol

o (^) RFCOMM

 Telephony control protocol

o Telephony control specification – binary (TCS BIN)

 Adopted protocols

o (^) PPP o (^) TCP/UDP/IP o (^) OBEX o (^) WAE/WAP

Usage Models

File transfer

Internet bridge

LAN access

Synchronization

Three-in-one phone

Headset

Piconets and Scatternets

 Piconet

o (^) Basic unit of Bluetooth networking o (^) Master and one to seven slave devices o (^) Master determines channel and phase

 Scatternet

o (^) Device in one piconet may exist as master or slave in another piconet o (^) Allows many devices to share same area o (^) Makes efficient use of bandwidth

Network Topology

 (^) Piconet = set of Bluetooth nodes synchronized to a master node o (^) The piconet hopping sequence is derived from the master MAC address (BD_ADDR IEEE802 48 bits compatible address)  (^) Scatternet = set of piconet  (^) Master-Slaves can switch roles  (^) A node can only be master of one piconet. Why? Piconet 1 Master Master Piconet 2 Scatternet Slave

Scatternets

piconets  (^) Each piconet has one master and up to 7 slaves  (^) Master determines hopping sequence, slaves have to synchronize  (^) Participation in a piconet = synchronization to hopping sequence  (^) Communication between piconets = devices jumping back and forth between the piconets

Frequency Hopping

 Total bandwidth divided into 1MHz physical

channels

 FH occurs by jumping from one channel to

another in pseudorandom sequence

 Hopping sequence shared with all devices on

piconet

 Piconet access:

o (^) Bluetooth devices use time division duplex (TDD) o (^) Access technique is TDMA o (^) FH-TDD-TDMA

Frequency Hopping

Bluetooth Packet Fields

Access code – used for timing

synchronization, offset compensation,

paging, and inquiry

Header – used to identify packet type and

carry protocol control information

Payload – contains user voice or data and

payload header, if present

Bluetooth Piconet MAC

 (^) Each node has a Bluetooth Device Address (BD_ADDR). The master BD_ADDR determines the sequence of frequency hops  (^) Types of connections: Synchronous Connection-Oriented link ( SCO ) (symmetrical, circuit switched, point-to-point) Asynchronous Connectionless Link ( ACL ): (packet switched, point-to-multipoint, master-polls)  (^) Packet Format: o Access code: synchronization, when piconet active derived from master o (^) Packet header (for ACL): 1/3-FEC, MAC address (1 master, 7 slaves), link type, alternating bit ARQ/SEQ, checksum f(k) f(k+1) f(k+2) f(k+3) f(k+4) f(k+4) f(k+4) f(k+7) Master Slave 1 Slave 2 bits access code packet header payload (^72 54) 0-2745 bits MAC address type flow ARQN SEQN HEC 3 4 1 1 1 8

Packet Header Fields

 AM_ADDR – contains “active mode” address of

one of the slaves

 Type – identifies type of packet

o (^) ACL: Data Medium (DM) or Data High (DH), with different slot lengths (DM1, DM3, DM5, DH1, DH3, DH5) o (^) SCO: Data Voice (DV) and High-quality voice (HV)

 Flow – 1-bit flow control

 ARQN – 1-bit acknowledgment

 SEQN – 1-bit sequential numbering schemes

 Header error control (HEC) – 8-bit error detection

code

Payload Format

Payload header

o L_CH field – identifies logical channel

o Flow field – used to control flow at L2CAP level

o Length field – number of bytes of data

Payload body – contains user data

CRC – 16-bit CRC code