Core Concept: IoT protocols are organized into layers (physical, link, network, transport, application) where each layer handles one responsibility - the physical layer modulates radio signals, the link layer manages channel access, the network layer routes packets, and the application layer formats data - and these layers can be mixed and matched independently.
Why It Matters: Understanding layers prevents costly integration mistakes. When someone says “we use MQTT,” they have only specified the application layer - you still need to decide on transport (TCP or QUIC), network (IPv4 or IPv6), link (Wi-Fi, Ethernet, or cellular), and physical medium. A LoRaWAN deployment uses LoRa PHY, LoRaWAN link/network, and can run MQTT, CoAP, or custom protocols at the application layer. Confusing layers leads to questions like “should we use MQTT or Wi-Fi?” - which compares incompatible layers.
Key Takeaway: When evaluating IoT protocols, identify which layer each technology addresses: Wi-Fi/BLE/LoRa are physical+link layers, IPv6/6LoWPAN are network layers, TCP/UDP are transport layers, and MQTT/CoAP/HTTP are application layers. A complete IoT stack requires choices at each layer. The OSI model has 7 layers, but IoT typically uses a simplified 5-layer model: PHY, MAC, Network, Transport, Application.