WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect...

50
14-2 BLUETOOTH 14-2 BLUETOOTH Bluetooth Bluetooth is a wireless LAN technology is a wireless LAN technology designed to connect devices of different designed to connect devices of different functions such as telephones, notebooks, functions such as telephones, notebooks, computers, cameras, printers, coffee makers, computers, cameras, printers, coffee makers, and so on. A Bluetooth LAN is an ad hoc and so on. A Bluetooth LAN is an ad hoc network, which means that the network is network, which means that the network is formed spontaneously. formed spontaneously. Architecture Bluetooth Layers Baseband Layer L2CAP Topics discussed in this section: Topics discussed in this section:

Transcript of WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect...

Page 1: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

14-2 BLUETOOTH14-2 BLUETOOTH

BluetoothBluetooth is a wireless LAN technology designed to is a wireless LAN technology designed to connect devices of different functions such as connect devices of different functions such as telephones, notebooks, computers, cameras, printers, telephones, notebooks, computers, cameras, printers, coffee makers, and so on. A Bluetooth LAN is an ad coffee makers, and so on. A Bluetooth LAN is an ad hoc network, which means that the network is formed hoc network, which means that the network is formed spontaneously. spontaneously.

ArchitectureBluetooth LayersBaseband LayerL2CAP

Topics discussed in this section:Topics discussed in this section:

Page 2: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

BLUETOOTH

• Bluetooth name comes from Danish king Harald Blåtand (Bluetooth),

• Credited with uniting the Scandinavian people during the 10th century.

• The idea was that Bluetooth wireless technology would unite personal computing devices.

Page 3: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Bluetooth

Bluetooth is a trademark owned by the Bluetooth SIG, Inc., USA.

• Bluetooth Special Industry Group (SIG) formed in winter of 1998 by Ericsson,IBM, Intel, Nokia, and Toshiba.

• Goals• • low cost• • low power• • primarily a cable replacement (to connect

mobile phones to headsets)

Page 4: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Bluetooth

• • There are those who believe it can be used as a Wireless Personal Area Network (WPAN),

• hence it was the basis for IEEE 802.15.• Using:• • short-range radio technology• • ad hoc networking• • dynamic discovery of other Bluetooth

devices & the services they offer

Page 5: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.19 Piconet

Page 6: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

PICONET

• Can have up to 8 stations:- 1 primary only, the rest are called secondaries (max 7 stations).

• Communication between primary and secondary can be one to one or one to many.

• All the secondary stations synchronize their clocks and hopping sequence with the primary.

Page 7: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

PICONET (cont..)

• Masters vs. Slaves• Each Bluetooth device is a Master or

Slave:• • master initiates exchange of data and the

slave responds to the master• • in order to communicate devices must

use same sequence of• frequency hops, hence slaves synchronize

to hop sequence of master

Page 8: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

PICONET (cont..)

• • master assigns an Active Member address (AM_ADDR) to the slaves

• participating in active communications within the piconet

• Additional devices may be registered with the master and be invited to become

• active as necessary -- their state is called “parked”

• Devices not currently associated with any piconet are in stand-by mode.

Page 9: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.20 Scatternet

Page 10: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

SCATTERNET

• Combination of piconet.

• A secondary in Piconet can be the primary in another piconet.

• This station can receive messages from the primary in the first piconet and acting as a primary, deliver them to secondaries in the second piconet.

Page 11: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.21 Bluetooth layers

Page 12: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

BLUETOOTH LAYERS

• Radio layer equivalent to physical layer of internet model.

• BT devices- low power ;range =10m

• Band- 2.4GHz ISM(medical) band,79 channels (1MHzeach).

• BT uses FHSS to avoid interference.

• Type of modulation used- GFSK.

Page 13: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Physical Layer

• • Uses 2.4 GHz unlicensed Industrial, Scientific, and Medical (ISM) band

• (globally portions of this band are available)

• • many other systems using the same spectrum

• – interference to other systems• – interference from other systems

Page 14: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Physical Layer (cont..)

• • 2.400-2.4835 GHz, i.e., 83.5 MHz divided into 79 channels with carrier frequencies

• f = 2402 +k MHz, k = 0, … , 78; Channel spacing is 1 MHz

• • Gaussian Frequency Shift Keying (GFSK) modulation with one bit per symbol

• •• • uses fast (1600 hops/s) frequency hopping spread

spectrum (FHSS)• • 625 microsecond long time slots• • one hop per packet, but a packet can be 1 slot, 3 slots,

or 5 slots long

Page 15: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

BLUETOOTH LAYERS• Baseband layer- equivalent to MAC layer in LANs.• The access method is TDMA. The primary and

secondary communicate with each other using time slots.

• Single-Secondary Communication (SSC)- Simple operation, primary uses slots 0,2,4… and

secondary uses slots 1,3,5…• Operate in half duplex mode.• Multiple-Secondary communication (MSC)- for more

than one secondary in the piconet.• All secondaries listen on even-numbered slots, but only

one secondary sends in any odd-numbered slot.

Page 16: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.22 Single-secondary communication

Page 17: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.23 Multiple-secondary communication

Page 18: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

PHYSICAL LINKS

• 2 types :– • a) A sychronous connection oriented (SCO). • Used when avoiding latency is more important

than integrity eg: Real time audio

• b) An asychronous connectionless link (ACL) .• Used when DATA integrity more important than

avoiding latency, eg: ATM

Page 19: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Baseband• Baseband controls the radio and is responsible for

low level timing, error control,• and management of link during a single data

packet transfer• Packet types:• • SCO, ACL - carrying payload• • ID packet consists of access code, used during

re-connection• • NULL packet consists of access code and

header, used for flow control• or to pass ARQ• • POLL packet same structure as NULL packet,

must be acknowledged• • FHS (Frequency Hop Synchronization)

Page 20: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

L2CAP-logical Link Control and Adaptation Protocol.

• Equivalent to LLC sublayer LANs .

• Used for data exchange on ACL link.

• Specific duties: Muxtiplexing,segmentation and reassembly,QoS and group management.

Page 21: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 14.25 L2CAP data packet format

Page 22: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

15-1 CONNECTING DEVICES15-1 CONNECTING DEVICES

In this section, we divide connecting devices into five In this section, we divide connecting devices into five different categories based on the layer in which they different categories based on the layer in which they operate in a network.operate in a network.

Passive HubsActive HubsBridgesTwo-Layer SwitchesRoutersThree-Layer SwitchesGateways

Topics discussed in this section:Topics discussed in this section:

Page 23: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.1 Five categories of connecting devices

Page 24: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A repeater connects segments of a LAN.

Note

Page 25: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.2 A repeater connecting two segments of a LAN

Page 26: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A repeater forwards every frame; it has no filtering capability.

Note

Page 27: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A repeater is a regenerator, not an amplifier.

Note

Page 28: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.3 Function of a repeater

Page 29: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.4 A hierarchy of hubs

Page 30: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A bridge has a table used in filtering decisions.

Note

Page 31: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.5 A bridge connecting two LANs

Page 32: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A bridge does not change the physical (MAC) addresses in a frame.

Note

Page 33: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.6 A learning bridge and the process of learning

Page 34: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.7 Loop problem in a learning bridge

Page 35: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.8 A system of connected LANs and its graph representation

Page 36: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.9 Finding the shortest paths and the spanning tree in a system of bridges

Page 37: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.10 Forwarding and blocking ports after using spanning tree algorithm

Page 38: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.11 Routers connecting independent LANs and WANs

Page 39: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

15-2 BACKBONE NETWORKS15-2 BACKBONE NETWORKS

A backbone network allows several LANs to be A backbone network allows several LANs to be connected. In a backbone network, no station is connected. In a backbone network, no station is directly connected to the backbone; the stations are directly connected to the backbone; the stations are part of a LAN, and the backbone connects the LANs. part of a LAN, and the backbone connects the LANs.

Bus BackboneStar BackboneConnecting Remote LANs

Topics discussed in this section:Topics discussed in this section:

Page 40: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

In a bus backbone, the topology of the backbone is a bus.

Note

Page 41: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.12 Bus backbone

Page 42: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

In a star backbone, the topology of the backbone is a star;

the backbone is just one switch.

Note

Page 43: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.13 Star backbone

Page 44: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.14 Connecting remote LANs with bridges

Page 45: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

A point-to-point link acts as a LAN in a remote backbone connected by

remote bridges.

Note

Page 46: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

15-3 VIRTUAL LANs15-3 VIRTUAL LANs

We can roughly define a We can roughly define a virtual local area networkvirtual local area network (VLAN) as a local area network configured by (VLAN) as a local area network configured by software, not by physical wiring.software, not by physical wiring.

MembershipConfigurationCommunication between SwitchesIEEE StandardAdvantages

Topics discussed in this section:Topics discussed in this section:

Page 47: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.15 A switch connecting three LANs

Page 48: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.16 A switch using VLAN software

Page 49: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

Figure 15.17 Two switches in a backbone using VLAN software

Page 50: WIRELESS LANs BLUETOOTH. 14-2 BLUETOOTH Bluetooth is a wireless LAN technology designed to connect devices of different functions such as telephones,

VLANs create broadcast domains.

Note