PadhaikoAll subjects

Past exam question: Assignment 3, Q17

Instrumentation · 6 marks

Open in the Padhaiko app

Topic: Connectivity Technology in Instrumentation System

Question

Describe Bluetooth & Wi-Fi in detail with frame structure & protocol stack.

Solution

Bluetooth (IEEE 802.15.1) — Architecture, Protocol Stack & Frame Structure:

Bluetooth Protocol Stack & Baseband Packet Frame StructureText
Protocol Stack:                         Baseband Packet Frame:
+--------------------------------+      +------------+--------+---------+
| Application / Profiles         |      | Access Code| Header | Payload |
+--------------------------------+      |  (72 bits) |(54 bit)|(0-2745b)|
| RFCOMM | SDP | Audio / Control |      +------------+--------+---------+
+--------------------------------+
| L2CAP (Multiplexing / SAR)     |      Header (18 bits x 3 FEC):
+--------------------------------+      [AM_ADDR(3)|TYPE(4)|FLOW(1)|ARQN(1)|SEQN(1)|HEC(8)]
| HCI (Host Controller Interface)|
+--------------------------------+
| LMP & Baseband | Radio (2.4GHz)|
+--------------------------------+

Wi-Fi (IEEE 802.11) — Architecture, Protocol Stack & MAC Frame Structure:

Wi-Fi (IEEE 802.11) Protocol Stack & MAC Frame StructureText
Protocol Stack:
+--------------------------------------+
| Applications / TCP / IP              |
+--------------------------------------+
| Logical Link Control (IEEE 802.2)    |
+--------------------------------------+
| IEEE 802.11 MAC (CSMA/CA, Security)  |
+--------------------------------------+
| PLCP | PMD  (IEEE 802.11 PHY Layer)  |
+--------------------------------------+

IEEE 802.11 MAC Frame Format (bytes):
| Frame Ctrl(2) | Dur/ID(2) | Addr1(6) | Addr2(6) | Addr3(6) | SeqCtrl(2) | Addr4(6) | Body(0-2312) | FCS/CRC(4) |
Answer:

Bluetooth (IEEE 802.15.1) is a FHSS WPAN forming master–slave piconets, with a stack of Radio Baseband/LMP HCI L2CAP RFCOMM/SDP/Profiles and packets composed of Access Code (72 b) + Header (54 b) + Payload. Wi-Fi (IEEE 802.11) is a CSMA/CA WLAN using a stack of PHY (PMD/PLCP) MAC LLC (802.2) TCP/IP and MAC frames containing Frame Control, Duration/ID, Addresses 1–4, Sequence Control, Data Payload, and 32-bit CRC.

All past exam questions for Instrumentation