Application Layer · Computer Networks

SVGVector Architecture Diagram (SVG)
COMPUTER NETWORKS · Module 5 · Application Layer★ High PriorityIT Sem 6 · Code 100602Bluetooth (IEEE 802.15.1)MNEMONICBluetooth = 2.4 GHz, 79 channels, 1600 hops/s, piconet = 1 master + 7 slaves.Scatternet = piconets joined by a bridge node.Core BreakdownOverviewBluetooth (IEEE 802.15.1) is a low power, short range wireless PAN (WPAN) for phones, headsets, wearables.Cable replacement for devices a few metres apart; ad hoc, no infrastructure needed.Radio2.4 GHz ISM band, 79 channels of 1 MHz each, with FHSS (frequency hopping spread spectrum).1600 hops per second; a time slot is 625 microseconds. Hopping avoids Wi-Fi interference.PiconetBasic cell: 1 master + up to 7 active slaves (3-bit address), more can be parked (up to 255).The master sets the hop sequence and clock; slaves talk only when the master polls them.ScatternetSeveral piconets overlap; a bridge device is a slave in one and master or slave in another.It extends coverage, but a device can only be active in one piconet at a time.TDDMaster and slave use time division duplex: master sends in even slots, slave replies in odd slots.No slave-to-slave direct link: all traffic goes through the master.StackRadio, Baseband, Link Manager (LMP), HCI, L2CAP, then RFCOMM, SDP and the applications.L2CAP multiplexes and segments data; SDP lets devices discover services.LinksSCO: synchronous, circuit switched, for voice (reserved slots). ACL: asynchronous, packet switched, for data.Pairing creates a shared link key for authentication and encryption.VersionsClassic (BR/EDR): up to about 3 Mbps. Bluetooth Low Energy (BLE, v4.0+): very low power, small data.Range by class: 1 about 100 m, 2 about 10 m, 3 about 1 m.Diagram: Piconet and ScatternetMASTERsets clock + hopsSlave 1Slave 2Slave 7Parked (255)ONE PICONET1 master + up to 7 active slavesScatternet = several piconets linked by a node thatis slave in one and master (or slave) in another.ApplicationL2CAP / HCILink ManagerBaseband / Radio2.4 GHz ISM band · 79 channels of 1 MHz · FHSS1600 hops per second · slot = 625 microsecondsRange: Class 3 ~1 m · Class 2 ~10 m · Class 1 ~100 mLinks: SCO (voice, circuit) · ACL (data, packet)⚠️ Exam Traps & Viva Favorites① How many slaves?A piconet has 1 master and at most 7ACTIVE slaves (3-bit address). Up to 255more can be parked.② Piconet vs Scatternet?Piconet = one master group. Scatternet =overlapping piconets joined by a bridgedevice that is in both.③ Why frequency hopping?2.4 GHz is shared with Wi-Fi and ovens.FHSS hops 1600 times a second over 79channels, so interference stays short.Tip: 1 master · 7 active slavesMaster Revision Table(learn it row by row!)ItemValueMeaningNoteBand2.4 GHz ISMLicence free, sharedSame band as Wi-FiChannels79 x 1 MHzUsed by FHSS1600 hops per secondPiconet1 master + 7 slavesBasic Bluetooth networkParked slaves up to 255ScatternetLinked piconetsBridge node in twoExtends the rangeSCO / ACLVoice / data linkCircuit vs packetSCO reserves slotsClassic / BLEAbout 3 Mbps / low powerStreaming vs sensorsBLE from v4.0QUICK FACTSStandard: IEEE 802.15.1 (WPAN) · Band: 2.4 GHz ISM · FHSS 79 channels, 1600 hops/sPiconet: 1 master + 7 active slaves (+255 parked) · Scatternet: bridged piconetsLink types: SCO (voice) · ACL (data) · Stack: Radio, Baseband, LMP, HCI, L2CAP, RFCOMMVERIFIED★ Golden rule: 1 master + 7 slaves = piconet; hopping 1600 times a second.

Bluetooth (IEEE 802.15.1) WPAN


1. Overview and Core Philosophy

Bluetooth is a short-range, low-power, low-cost wireless technology designed to interconnect portable and stationary devices, eliminating the cables connecting peripherals (keyboards, mice, headphones, mobile phones).

Standardized by the Bluetooth Special Interest Group (SIG) and adopted under IEEE 802.15.1, it forms a Wireless Personal Area Network (WPAN).

Physical Characteristics:

  • Frequency Band: Operates in the license-free 2.4 GHz2.4\text{ GHz} ISM (Industrial, Scientific, Medical) band (2.402−2.480 GHz2.402 - 2.480\text{ GHz}).
  • Modulation & Channeling: Slices the band into 79 RF channels, each with a bandwidth of 1 MHz1\text{ MHz}.
  • Frequency Hopping (FHSS): Employs Frequency Hopping Spread Spectrum, hopping 1,600 times per second1{,}600\text{ times per second} across all 79 channels. This rapid hopping makes Bluetooth extraordinarily immune to interference from Wi-Fi routers and microwave ovens sharing the 2.4 GHz band.

2. Network Topologies: Piconet and Scatternet

Bluetooth organizes devices into two hierarchical topologies:

MermaidDiagram
Rendering diagram…

1. Piconet

  • The basic architectural unit of a Bluetooth network.
  • Contains 1 Master node and up to 7 Active Slave nodes (8 active devices maximum).
  • Master Role: Sets the clock timing and frequency hopping sequence for the entire piconet.
  • Slave Role: Synchronizes its clock to the master. Communication is strictly Master-to-Slave or Slave-to-Master; slaves can never communicate directly with each other!
  • Parked Nodes: A piconet can also support up to 255 Parked Slaves (synchronized in low-power sleep mode, awaiting an activation command from the master).

2. Scatternet

  • Formed when two or more independent piconets overlap in physical space.
  • A device can act as a Bridge Node: serving as a Slave in one piconet while acting as the Master (or a Slave) in an adjacent piconet.
  • The bridge node uses time-division multiplexing to participate in each piconet during alternating time slices, relaying packets across piconet boundaries.

3. Bluetooth Protocol Stack Architecture

MermaidDiagram
Rendering diagram…

Key Sublayer Functions:

  1. Radio Layer: Specifies the air interface, transceivers, frequency bands (2.4 GHz2.4\text{ GHz}), and 1600 hops/sec FHSS.
  2. Baseband Layer:
    • Manages physical channels and links.
    • Uses Time-Division Duplexing (TDD): Time is divided into 625 μs625\text{ }\mu\text{s} time slots. Master transmits in even-numbered slots (0,2,4…0, 2, 4\dots), and the addressed slave replies in the subsequent odd-numbered slot (1,3,5…1, 3, 5\dots).
    • Link Types:
      • SCO (Synchronous Connection-Oriented): Circuit-switched, dedicated voice link (fixed slots, no retransmission).
      • ACL (Asynchronous Connection-Less): Packet-switched, best-effort data link (uses ARQ retransmissions).
  3. L2CAP (Logical Link Control and Adaptation Protocol):
    • Provides Segmentation and Reassembly (SAR) (slices large 64 KB64\text{ KB} user packets into baseband-sized chunks).
    • Multiplexes multiple upper-layer protocols (RFCOMM, SDP) over a single baseband link.
  4. Bluetooth Profiles: Defines application-specific behavior:
    • A2DP (Advanced Audio Distribution Profile) for stereo music headphones.
    • HID (Human Interface Device) for mice and keyboards.
    • HFP (Hands-Free Profile) for in-car calling.

4. Bluetooth Classic vs. Bluetooth Low Energy (BLE)

Parameter Bluetooth Classic (BR/EDR) Bluetooth Low Energy (BLE / Smart)
Primary Goal High-throughput continuous streaming Ultra-low power consumption (Years on coin cell)
RF Channels 79 channels (1 MHz1\text{ MHz} wide) 40 channels (2 MHz2\text{ MHz} wide)
Active Slaves Maximum 7 active per piconet Virtually unlimited
Connection Setup Slow (100 ms−seconds100\text{ ms} - \text{seconds}) Instantaneous (<3 ms< 3\text{ ms})
Typical Use Cases Wireless Headphones, Car Audio Smartwatches, Heart-rate monitors, Apple AirTags

Frequently Asked Questions

QHow many active devices can participate in a single Bluetooth Piconet?

Maximum 8 active devices: 1 Master and up to 7 Active Slaves. (Up to 255 additional devices can be kept in parked/dormant state).

QWhat is a Scatternet?

An interconnected network created when a device participates in two or more overlapping Piconets (acting as a slave in one and a master/slave in another) to bridge data traffic between them.

QWhy does Bluetooth use Frequency Hopping (FHSS) at 1600 hops/second?

To avoid packet collisions and radio interference within the crowded 2.4 GHz2.4\text{ GHz} ISM band shared with Wi-Fi networks, cordless telephones, and microwave ovens.

QWhat is the function of the L2CAP sublayer?

L2CAP performs protocol multiplexing, segmentation and reassembly (SAR) of large packets, and Quality of Service (QoS) negotiation between the upper applications and the lower baseband layer.

QDifferentiate SCO and ACL links in Bluetooth.

SCO is a circuit-switched, synchronous link for voice with reserved slots and no retransmission. ACL is a packet-switched, asynchronous best-effort link for data that uses ARQ retransmission.

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.

← All Computer Networks modules