Application Layer protocols for IoT, Slides of Computer Science

Discusses the various application layer protocols like CoAP and MQTT.This ppt also focusses on the compatibility between legacy protocols, web based, and IoT protocols.

Typology: Slides

2025/2026

Available from 04/21/2026

bharti-5
bharti-5 ๐Ÿ‡ฎ๐Ÿ‡ณ

11 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Application Protocols for
IoT
How higher-layer IoT protocols are transported โ€” from traditional
TCP/UDP transport mechanisms to lightweight application protocols
engineered for constrained devices and lossy networks.
IOT NETWORKING PROTOCOL DESIGN TRANSPORT LAYER
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Application Layer protocols for IoT and more Slides Computer Science in PDF only on Docsity!

Application Protocols for

IoT

How higher-layer IoT protocols are transported โ€” from traditional TCP/UDP transport mechanisms to lightweight application protocols engineered for constrained devices and lossy networks. IOT NETWORKING PROTOCOL DESIGN TRANSPORT LAYER

CHAPTER 1

The Transport Layer: TCP vs. UDP

TCP โ€” Connection-Oriented

Like a telephone call โ€” a session must be established before data flows. Guarantees delivery, sequencing, and flow control.

  • (^) Retransmits lost packets
  • (^) Minimum 20 bytes overhead per packet
  • (^) Maintains open logical channel

UDP โ€” Connectionless

Like mailing a letter โ€” data is sent immediately with no delivery guarantee. Used by DNS, NTP, SNMP, DHCP, and real-time media.

  • (^) Only 8 bytes overhead per packet
  • (^) No session setup or teardown
  • (^) Preferred for latency-sensitive traffic

CHAPTER 2

IoT Application Transport Methods

Constrained Connectivity Low Capability Rich Connectivity High Capability

Web Protocols -

HTTP/HTTPS, XMPP,

JSON/XML

IoT Protocols - CoAP

(UDP), MQTT (TCP)

SCADA - Serial and IP

industrial links

Class 0 - No App

Protocol, no IP stack

Each category reflects a different level of device capability and network constraint โ€” from bare-metal Class 0 sensors to full IP-enabled smart devices running optimized IoT protocols.

TRANSPORT METHOD 1

Class 0 Devices: No Application Protocol

Defined by IETF RFC 7228 , Class 0 devices are severely constrained in processing power, memory, and energy. They do not implement a full protocol stack โ€” no IP, TCP, UDP, or application layer. Implementing a robust protocol stack on Class 0 devices is often not just impractical โ€” it is physically impossible given available resources. These simple smart objects typically interact through an IoT data broker that handles all network communication on their behalf.

SCADA INTEGRATION

Integrating Legacy SCADA Over IP Networks

Scenario A โ€” Raw

Socket Tunneling

Both SCADA server and RTUs connect serially to routers. Routers encapsulate serial payloads over IP using raw TCP or UDP sockets.

Scenario B โ€”

IP/Serial Redirector

Software on the SCADA server maps serial COM ports to IP ports, converting serial connections to TCP/IP raw socket connections.

Scenario C โ€” Native

Raw Socket

The SCADA server natively supports raw socket connections โ€” no external router or redirector software required.

Protocol Translation

Gateway

An IoT gateway translates between serial DNP3 on one side and DNP3-over-IP on the other, bridging legacy and modern infrastructure.

TRANSPORT METHOD 3 Generic Web-Based Protocols Web protocols ease IoT integration from prototyping to production. Developers with standard web skills can build IoT applications immediately. HTTP/HTTPS on Non-Constrained Networks On Ethernet, Wi-Fi, or cellular, verbose payloads (JSON, XML) travel over HTTP/HTTPS or WebSockets with minimal concern for bandwidth. Client vs. Server Role Devices that only push data (e.g., weather stations, smart scales) implement HTTP client- side only โ€” initiating connections but never accepting incoming ones. XMPP for Real-Time Interaction Extensible Messaging and Presence Protocol enables simple communication between people and IoT devices for voice, video, and chat integration.

Key Takeaways (^1) Match Transport to Constraint UDP's 8-byte overhead and connectionless design make it the default for LLNs. TCP's reliability comes at a cost often too high for constrained devices. (^2) Legacy Protocols Need Adaptation SCADA protocols like DNP3 and Modbus have been adapted to IP via raw socket tunneling, IP/serial redirectors, or protocol translation gateways. (^3) Web Protocols Bridge Familiarity and IoT HTTP/HTTPS and XMPP lower the barrier to IoT development but require optimization for truly constrained environments. (^4) CoAP Is Purpose-Built for IoT With a 4-byte header, REST semantics, and UDP-based reliability, CoAP is the definitive application protocol for constrained IoT deployments.