Chapter 5
IoT Communication Protocols and Interoperability
Diploma in IOT
Introduction to IoT
•
Diploma
IoT Communication Protocols and Interoperability
Introduction and Context
An Internet of Things (IoT) system is not simply a collection of sensors connected to the internet. It is a communication system in which constrained devices, gateways, edge computers, cloud platforms, mobile applications and enterprise systems exchange information reliably and securely. Communication protocols provide the rules for this exchange. They define how devices are addressed, how messages are structured, how data is transported, how errors are handled and how different systems interpret shared information.
IoT communication is complicated by diversity. A battery-powered temperature sensor may have a small processor, limited memory and a low-power radio, while a cloud platform may use high-speed Ethernet and web APIs. These systems must interoperate even though they differ in bandwidth, energy availability, processing capacity, addressing schemes and software platforms.
This chapter examines the principal protocols and concepts used in IoT communication: IPv6, 6LoWPAN, TCP, UDP, MQTT, CoAP, HTTP and WebSockets. It also compares publish-subscribe and request-response communication, and explains the importance of standards, APIs, schemas and interoperability engineering.
Learning Objectives
After studying this chapter, a learner should be able to:
explain addressing and messaging in IoT networks;
describe the roles of IPv6 and 6LoWPAN;
distinguish TCP from UDP and select an appropriate transport protocol;
compare MQTT, CoAP, HTTP and WebSockets;
differentiate publish-subscribe from request-response communication;
explain the functions of standards, APIs and data schemas;
identify interoperability, security, reliability and governance challenges; and
design a basic protocol stack for an IoT application.
1. Communication as a Layered System
IoT communication is commonly understood through layered architectures. Each layer performs a specific function and offers services to the layer above it. A simplified stack is:
Layer
Main concern
Typical IoT technologies
Application
Meaning and exchange of data
MQTT, CoAP, HTTP, WebSockets
Transport
End-to-end delivery
TCP, UDP
Internet/network
Logical addressing and routing
IPv6, ICMPv6
Adaptation/link
Delivery over constrained links
6LoWPAN, IEEE 802.15.4
Physical
Signals and radio transmission
802.15.4 radio, Wi-Fi, Ethernet, cellular
Layering improves modularity. A sensor application can use MQTT without needing to implement radio signalling itself. However, layers are not completely independent. For example, an application protocol must account for the maximum payload, delay, reliability and energy characteristics of its underlying network.
A message normally passes down the sender's stack, across the communication medium and up the receiver's stack. Encapsulation occurs when each layer adds control information. At the receiving device, decapsulation removes these headers in reverse order.
Layered IoT communication stack between a sensor and cloud service
Figure: Layered IoT communication stack between a sensor and cloud service
Figure: A layered IoT communication stack. The upper-layer protocol can remain conceptually consistent while lower-layer technologies differ.
2. Addressing with IPv6
An address identifies a communication endpoint. Without an address, a message cannot be delivered to a particular device or service. IPv6 was designed to provide a very large address space and improved support for hierarchical routing, autoconfiguration and modern internetworking.
An IPv6 address is 128 bits long. It is conventionally written as eight groups of four hexadecimal digits, for example:
2001:0db8:0000:0000:021a:2bff:fe3c:4d5e
Leading zeroes within a group may be omitted, and one consecutive sequence of zero groups may be replaced by :. Thus, the example can be shortened to 2001:db8::21a:2bff:fe3c:4d5e. The double-colon notation may be used only once in an address because otherwise the number of omitted groups would be ambiguous.
IPv6 addresses have different roles:
Global unicast addresses identify interfaces routable across the internet.
Link-local addresses, beginning with fe80::/10, support communication on the local link and are required for many IPv6 operations.
Unique local addresses, commonly from fc00::/7, are intended for private networks.
Multicast addresses, beginning with ff00::/8, identify a group of interfaces.
IPv6 does not use broadcast in the same way as IPv4; multicast performs many group-delivery functions.
The notation 2001:db8:1234:5678::/64 describes a prefix. The first 64 bits identify the network prefix and the remaining 64 bits identify an interface or host under the usual subnet convention. The prefix length is a routing and addressing convention, not a guarantee that every device must use a particular method of forming its interface identifier.
IPv6 supports Stateless Address Autoconfiguration (SLAAC), in which a device can form an address using network prefix information advertised by a router. DHCPv6 may also be used where managed address assignment or additional configuration is required. Neighbor Discovery Protocol, carried through ICMPv6, supports address resolution, router discovery and reachability functions.
For IoT, IPv6 offers end-to-end addressing and reduces dependence on application-specific gateway translation. Nevertheless, IPv6 headers and control procedures may be relatively large for low-power links. This is one reason adaptation mechanisms such as 6LoWPAN are important.
3. 6LoWPAN for Constrained Networks
6LoWPAN means IPv6 over Low-Power Wireless Personal Area Networks. It is an adaptation technology that enables IPv6 packets to operate over networks commonly based on IEEE 802.15.4, whose frames are small and whose devices may be battery powered.
A conventional IPv6 packet can be much larger than the useful payload available in an IEEE 802.15.4 frame. 6LoWPAN addresses this mismatch through several mechanisms:
Header compression: Repeated or predictable IPv6 and transport-header fields can be represented compactly.
Fragmentation and reassembly: An IPv6 packet can be divided into fragments when it exceeds the link-layer frame capacity.
Mesh support: In some deployments, packet delivery can cross multiple low-power links, although routing responsibilities depend on the particular architecture.
Adaptation between link and network layers: The technology preserves IPv6 semantics while accommodating constrained frames.
Fragmentation increases risk. If one fragment is lost, the complete packet may not be reconstructed, causing retransmission or application failure. Small application payloads, careful routing and link-layer acknowledgements can therefore improve efficiency.
A 6LoWPAN network may use a border router to connect the low-power network to an IPv6 network. The border router is not necessarily an application gateway: ideally, it forwards IP packets while preserving end-to-end addressing. In practice, gateways may also translate protocols, aggregate data, enforce policy or provide security functions.
6LoWPAN is not itself a complete IoT application protocol. It solves an adaptation problem. An application may still use UDP with CoAP, TCP with MQTT, or another suitable protocol above it.
4. Transport: TCP and UDP
4.1 Transmission Control Protocol
TCP is connection-oriented and provides a reliable, ordered byte stream. Before data transfer, endpoints establish a connection. TCP uses sequence numbers, acknowledgements, retransmission and congestion control. It is appropriate when an application requires reliable delivery and can tolerate connection-management overhead and variable delay.
TCP does not preserve application message boundaries. If an application sends two messages, the receiver may read them as one combined sequence or as several segments. Applications using TCP must therefore define framing, such as a length field, delimiter or structured serialization format.
TCP is widely used by HTTP, MQTT and WebSockets. Secure versions commonly use TLS over TCP. Reliability is not the same as timeliness: retransmitting a lost packet may deliver correct data after it is no longer useful to a control application.
4.2 User Datagram Protocol
UDP is connectionless and provides datagrams. It has low protocol overhead and preserves datagram boundaries, but it does not inherently provide reliable delivery, ordering, duplicate suppression or congestion control equivalent to TCP. Applications may add selected mechanisms when needed.
UDP is useful for low-power devices, discovery, time-sensitive telemetry and request-response protocols such as CoAP. However, developers must consider loss, duplication, reordering, amplification risks and network congestion. “Fast” should not be assumed automatically: radio retransmissions, queues and poor signal quality can dominate total delay.
Characteristic
TCP
UDP
Communication model
Connection-oriented
Connectionless datagrams
Delivery
Reliable and ordered byte stream
Best-effort datagrams
Message boundaries
Not preserved
Preserved
Congestion control
Built in
Application or other mechanism required
Typical IoT use
MQTT, HTTP, WebSockets
CoAP, discovery, lightweight telemetry
Main cost
Connection and reliability overhead
Application must handle important failure cases
The choice should be based on requirements rather than fashion. A firmware update generally benefits from TCP reliability, whereas a periodic sensor reading may use UDP and tolerate occasional loss.
5. Application Protocols
5.1 MQTT
MQTT is a lightweight publish-subscribe messaging protocol. Devices publish messages to named topics, and subscribers receive messages for topics to which they have subscribed. A broker receives publications and distributes them to matching subscribers.
For example, a sensor may publish 23.4 °C to the topic building/roomA/temperature. A dashboard and an alerting service can subscribe independently. The sensor does not need to know the identities of those consumers.
Important MQTT concepts include:
Client: A device or application connected to a broker.
Broker: The intermediary that authenticates clients, manages subscriptions and routes messages.
Topic: A hierarchical textual name used for message routing.
Payload: The data carried by a publication.
QoS: Delivery service level. QoS 0 is at most once, QoS 1 is at least once and QoS 2 is exactly once at the MQTT protocol level.
Retained message: The broker stores the latest retained message for a topic and supplies it to a new subscriber.
Last Will and Testament: A message the broker can publish if a client disconnects unexpectedly.
QoS 1 can cause duplicate delivery, so consumers should be idempotent where possible. Idempotence means processing the same message more than once does not produce an unintended additional effect. QoS 2 provides stronger duplicate control but requires more protocol exchanges and state.
MQTT normally operates over TCP, often with TLS for confidentiality and authentication. MQTT 5 adds features such as reason codes, message expiry and user properties. MQTT is particularly effective for many-to-many telemetry and event distribution, but it requires broker infrastructure and careful topic governance.
5.2 CoAP
The Constrained Application Protocol is designed for constrained nodes and networks. It follows a REST-style request-response model and uses concepts analogous to HTTP: resources, methods and response codes. Common methods include GET, POST, PUT and DELETE.
A device might expose /sensors/temperature. A client can issue a GET request and receive a representation such as:
CoAP commonly uses UDP and supports confirmable messages. A confirmable request requires acknowledgement; a non-confirmable message does not require a protocol acknowledgement. CoAP can also support retransmission, resource discovery and observe relationships, allowing a client to receive updates when a resource changes.
CoAP is suitable for direct device interaction, local control and constrained REST services. Proxies can translate between CoAP and HTTP, but translation must preserve semantics, security policy and data meaning rather than merely changing syntax.
5.3 HTTP
HTTP is a widely deployed request-response protocol used by browsers, web servers and cloud APIs. An HTTP client sends a request containing a method, target resource, headers and optional body. The server returns a status code, headers and optional representation.
HTTP is valuable for integration because development tools, proxies, authentication systems and cloud services commonly support it. RESTful IoT APIs often use HTTP with JSON. Its disadvantages for constrained devices include relatively high header overhead, persistent connection management and a communication pattern that is less natural for unsolicited event delivery.
HTTP status codes communicate broad outcomes. For example, 200 indicates successful processing, 201 indicates successful creation and 404 indicates that a resource was not found. Applications should not treat a transport-level success as proof that a physical action has completed; the API must define the meaning precisely.
5.4 WebSockets
WebSockets provide a persistent, bidirectional communication channel between a client and server. A connection begins with an HTTP-based upgrade handshake and then carries framed messages in both directions. This makes WebSockets useful for dashboards, live notifications and interactive control applications.
Unlike ordinary HTTP polling, a server can send an update without waiting for a new request. WebSockets are generally more suitable for browsers and application front ends than for extremely constrained sensors. Authentication, authorization, connection limits, heartbeat behaviour and reconnection policies must be designed explicitly.
6. Communication Models
Publish-subscribe
In publish-subscribe communication, producers publish events and consumers subscribe to topics or channels. The broker decouples producers from consumers in space, time and often identity. A device can publish a measurement even when no dashboard is currently connected, provided the broker and retention policy support that behaviour.
Advantages include scalable fan-out, loose coupling and easy addition of new consumers. Challenges include broker availability, topic design, message ordering, access control and diagnosing invisible subscribers.
Request-response
In request-response communication, a client asks for an operation or resource and a server returns a response. HTTP and CoAP are common examples. This model is easy to understand and suits reading a resource, changing configuration or invoking a defined operation.
Its limitations include dependence on the availability of the responder and inefficient polling for frequently changing data. Long polling, server-sent events, WebSockets or a hybrid publish-subscribe design may address some of these limitations.
Requirement
Suitable model or protocol
Many consumers need the same event
MQTT publish-subscribe
Read or update a device resource
CoAP or HTTP request-response
Browser receives live updates
WebSockets
Very constrained local device
CoAP over UDP
Reliable cloud integration
MQTT or HTTP over TCP/TLS
7. Standards, APIs and Schemas
Interoperability is the ability of independent systems to exchange information and use it correctly. It has at least three dimensions:
Technical interoperability: Systems can connect and exchange bits.
Syntactic interoperability: Messages use compatible structures and encodings.
Semantic interoperability: Systems agree on the meaning of data.
An API is a defined interface through which software requests data or services. It should specify endpoints or topics, methods, parameters, authentication, payload formats, response codes, error behaviour and versioning. An undocumented API may work temporarily but is difficult to maintain or integrate.
A schema describes the structure and constraints of data. For example, a measurement schema might define deviceId as a string, value as a number, unit as an enumerated string and timestamp as an ISO 8601 time. Schemas can be expressed using JSON Schema, Protocol Buffers, CBOR-related models or domain-specific standards.
A payload such as {"value":23.4} is syntactically valid but semantically incomplete if the unit, sensor identity, precision and timestamp are unknown. Good schemas define units, allowed ranges, optionality, timestamps, quality indicators and version compatibility.
Standards reduce vendor dependence and integration costs. Relevant standardisation communities include the IETF, ISO, IEEE, OASIS and W3C. A protocol being standardized does not guarantee that two products interoperate: implementations may support different options, interpret profiles differently or expose incompatible data models.
8. Designing an IoT Protocol Stack
Protocol selection should begin with requirements:
What devices communicate, and how constrained are they?
Is communication periodic, event-driven, interactive or safety-critical?
Is delivery reliability more important than bounded delay?
Is direct addressing required, or is brokered communication acceptable?
What are the energy, bandwidth and memory limits?
What security, regulatory and data-retention obligations apply?
How will devices be provisioned, updated and retired?
A practical design might use IEEE 802.15.4 and 6LoWPAN between battery sensors, IPv6 and UDP at the transport layer, CoAP for local resource access, and an edge gateway that publishes normalized events through MQTT over TLS to the cloud. Another design might use Wi-Fi, TCP, MQTT and TLS directly for mains-powered devices.
Reliability should be designed at several levels. Link-layer retransmission can address short radio losses; UDP applications can use acknowledgements and sequence numbers; MQTT can provide broker-mediated delivery levels; and the business application can use transaction identifiers and state reconciliation. These mechanisms are not interchangeable. A successfully delivered MQTT message does not necessarily prove that an actuator completed a physical action.
Security is also layered. Devices should use strong identities, secure credential storage, encrypted transport, authorization by device and topic/resource, secure boot where appropriate, signed firmware and logging of security events. TLS protects a connection but does not automatically define which device may publish to a topic. Authorization remains necessary.
9. Worked Example: Choosing a Protocol
Consider a greenhouse with 200 battery-powered temperature and humidity sensors. Each sensor reports every five minutes, must operate for several years, and sends data to a local gateway. The gateway forwards data to a cloud dashboard and an alert service. Operators also need to change reporting intervals.
A reasonable design is:
IEEE 802.15.4 with 6LoWPAN for the low-power link;
IPv6 for addressing;
UDP and CoAP for sensor resource access and configuration;
MQTT over TCP/TLS from the gateway to the cloud;
JSON or CBOR payloads governed by a versioned schema.
CoAP is suitable locally because devices are constrained and resource-oriented operations are required. MQTT is suitable upstream because multiple cloud consumers need the same events and the gateway can maintain the broker connection. The gateway can buffer readings during temporary internet loss and publish them when connectivity returns.
Suppose a sensor sends a measurement containing 20 bytes of payload every five minutes. Ignoring headers, the daily application payload is:
20 × (24 × 60 ÷ 5) = 20 × 288 = 5760 bytes per day
The calculation assumes exactly one report every five minutes and excludes protocol headers, retransmissions, acknowledgements, security overhead and other traffic. It illustrates why overhead and duty cycle matter, but it is not a complete battery-life calculation. Battery life also depends on transmit power, radio time, sleep current, battery capacity, temperature and retransmission rate.
10. Case Study: Illustrative Smart-Water Deployment
Background
A municipal water utility operates pressure, flow and quality sensors across several pumping stations. The existing system contains products from multiple vendors. One vendor uses proprietary field messages, another provides an HTTP API, and a third sends MQTT messages with undocumented payloads.
Problem
The control centre receives duplicate measurements, inconsistent timestamps and different unit conventions. A dashboard interprets one pressure value as kPa while another device reports bar. During a network outage, some devices lose data and others continue transmitting without clear status information.
Analysis
The problem is not merely a missing protocol. The systems have partial technical interoperability but weak syntactic and semantic interoperability. They also lack a common identity model, schema versioning, time policy and outage-handling policy.
Approach and solution
The utility defines a device registry with unique identifiers and ownership information. It specifies a canonical measurement schema containing device ID, measurement type, value, unit, timestamp, quality flag and schema version. An edge integration service accepts vendor-specific inputs, validates them, converts units, normalizes timestamps to UTC and publishes canonical events to controlled MQTT topics.
The utility uses TLS for transport protection, client certificates for device or gateway identity, topic-level authorization and audit logs. Critical control operations use request-response APIs with explicit acknowledgements and operation identifiers rather than treating a telemetry publication as proof of actuation. Gateways buffer data during outages and attach quality information when readings are delayed.
Outcome
The dashboard, analytics platform and alert service can consume the same canonical events. New vendors integrate through documented adapters rather than custom changes to every application. Operators can distinguish current, delayed and invalid readings.
Learning points
A common schema is as important as a common transport protocol.
Unit and timestamp definitions must be explicit.
Telemetry and control have different reliability and safety requirements.
Gateways can isolate legacy systems while exposing standards-based interfaces.
Interoperability must include lifecycle, security and operational governance.
11. Challenges and Limitations
Intermittent connectivity
Wireless links fail because of interference, attenuation, congestion and power-saving schedules. Applications should use timeouts, bounded retries, backoff, local buffering and reconciliation. Unlimited retries can congest a network and drain batteries.
Message duplication and ordering
At-least-once delivery can produce duplicates, while multiple paths can produce reordering. Messages should carry timestamps or sequence numbers where ordering matters. Consumers should be designed for idempotent processing.
Version evolution
Schemas and APIs change. Version fields, backward-compatible additions, deprecation policies and contract testing reduce disruption. Removing a field or changing its unit without a migration plan can silently corrupt analytics.
Resource constraints
Small devices have limited memory, CPU, bandwidth and energy. Certificate validation, encryption and verbose formats may be costly, although security cannot simply be removed. Compact encodings, sleep scheduling and gateway assistance can reduce resource requirements.
Gateway dependence
Gateways simplify translation and management but may become single points of failure or surveillance. Designs should consider redundancy, local autonomy, secure remote management and clear responsibility boundaries.
Safety and ethical concerns
Incorrect data can cause unsafe decisions, especially in healthcare, energy, transport and industrial control. Systems should preserve provenance and quality indicators, restrict access to personal data, minimize collection, define retention periods and support incident response. Data from homes and workplaces may reveal behaviour patterns; privacy must be considered during protocol and schema design, not added after deployment.
12. Contemporary Developments and Best Practices
Modern IoT systems increasingly combine edge computing, digital twins, event streaming and automated device management. Edge processing can filter or aggregate data before transmission, reducing bandwidth and latency. Digital-twin models represent devices, state and relationships, but their usefulness depends on accurate synchronization and well-defined semantics.
AI can detect anomalies in sensor streams, but an AI model does not correct poor interoperability. Training data should retain units, timestamps, quality flags and provenance. Automated decisions should include confidence information and human oversight where consequences are significant.
Recommended practices are:
use IPv6-compatible addressing where practical;
select TCP or UDP according to reliability, delay and resource requirements;
use MQTT for decoupled event distribution and CoAP for constrained REST interactions;
use HTTP and WebSockets when web integration or interactive clients justify them;
document APIs, topics, schemas, units, timestamps and error semantics;
secure every layer with authenticated identities and least-privilege authorization;
make consumers tolerant of duplicates and temporary disconnection;
test interoperability with conformance tests and representative network faults;
design provisioning, updates, key rotation and retirement from the beginning; and
distinguish successful message delivery from successful physical operation.
Chapter Summary
IoT communication depends on coordinated layers. IPv6 provides scalable logical addressing, while 6LoWPAN adapts IPv6 to low-power wireless links through compression and fragmentation. TCP provides a reliable ordered byte stream, whereas UDP provides lightweight datagrams whose reliability must be addressed by the application when required.
MQTT uses broker-mediated publish-subscribe communication and is effective for event distribution. CoAP provides a constrained, REST-style request-response approach, commonly over UDP. HTTP supports broad web and cloud integration, while WebSockets provide persistent bidirectional communication for interactive applications. No protocol is universally best; selection depends on constraints, reliability, delay, energy, security and integration requirements.
Interoperability includes technical connectivity, compatible syntax and shared meaning. Standards, APIs, schemas, units, timestamps, identity models and versioning are therefore central design artifacts. Reliable and secure IoT systems also require buffering, retries, duplicate handling, authorization, lifecycle management and governance of personal and operational data.
Key Terms
IPv6: Internet Protocol version 6 using 128-bit logical addresses.
6LoWPAN: Adaptation technology for carrying IPv6 over low-power wireless personal area networks.
TCP: Connection-oriented transport protocol providing an ordered reliable byte stream.
UDP: Connectionless transport protocol providing best-effort datagrams.
MQTT: Lightweight publish-subscribe messaging protocol using brokers and topics.
CoAP: Constrained Application Protocol for resource-oriented communication, commonly over UDP.
HTTP: Web request-response protocol used widely for APIs and cloud services.
WebSocket: Persistent, bidirectional, framed communication channel established through an HTTP upgrade.
Broker: Intermediary that receives, filters and distributes publish-subscribe messages.
Topic: Named channel or hierarchy used by a publish-subscribe system.
Payload: Application data carried inside a protocol message.
SLAAC: Stateless Address Autoconfiguration for forming IPv6 addresses.
API: Defined software interface for requesting data or services.
Schema: Formal description of data structure, types and constraints.
Interoperability: Ability of independent systems to exchange and correctly use information.
Idempotence: Property in which repeated processing does not create unintended additional effects.
Gateway: System that connects networks and may translate, filter or process protocols.
TLS: Cryptographic protocol commonly used to protect application transport connections.
Review Questions
Short Answer Questions
What is the main purpose of 6LoWPAN?
State one major difference between TCP and UDP.
What role does an MQTT broker perform?
Why are schemas important for IoT interoperability?
Name two types of IPv6 address and describe their uses.
Long Answer Questions
Explain the layered IoT communication model and show how a message moves through the layers.
Compare MQTT, CoAP and HTTP in terms of communication model, transport, resource constraints and applications.
Explain IPv6 addressing, including prefixes, link-local addresses and autoconfiguration.
Discuss the advantages and limitations of TCP and UDP for battery-powered IoT devices.
Explain why technical interoperability alone is insufficient for a multi-vendor IoT deployment.
Analytical / Application Questions
Design a protocol stack for a battery-powered agricultural sensor network that reports measurements to a cloud dashboard and receives configuration commands. Justify each layer and identify likely failure modes.
A factory needs both high-rate telemetry and safe actuator control. Decide whether MQTT, CoAP, HTTP or WebSockets should be used for each function, and explain how delivery confirmation and authorization should be handled.
An IoT platform receives temperature data from three vendors using different units, timestamps and payload structures. Propose an interoperability strategy involving APIs, schemas, gateways, validation and version management.
Multiple Choice Questions with Answers
Question 1
Which protocol provides a reliable, ordered byte stream?
A. UDP
B. TCP
C. 6LoWPAN
D. MQTT
Correct Answer: B. TCP
Question 2
What is the primary role of 6LoWPAN?
A. Encrypting MQTT payloads
B. Replacing IPv6 routing
C. Adapting IPv6 for low-power wireless networks
D. Providing cloud storage
Correct Answer: C. Adapting IPv6 for low-power wireless networks
Question 3
In MQTT, which component distributes published messages to subscribers?
A. Router advertisement
B. Broker
C. Web browser
D. Schema validator
Correct Answer: B. Broker
Question 4
Which communication model is most directly associated with MQTT?
A. Publish-subscribe
B. Circuit switching
C. Token passing
D. Batch processing
Correct Answer: A. Publish-subscribe
Question 5
Which protocol is commonly designed for constrained REST-style resource interaction over UDP?
A. CoAP
B. SMTP
C. FTP
D. ARP
Correct Answer: A. CoAP
Question 6
What does an IPv6 address contain?
A. 16 bits
B. 32 bits
C. 64 bits
D. 128 bits
Correct Answer: D. 128 bits
Question 7
Which statement about UDP is correct?
A. It guarantees ordered delivery
B. It is a connectionless datagram protocol
C. It always retransmits lost packets
D. It preserves a TCP byte stream
Correct Answer: B. It is a connectionless datagram protocol
Question 8
What does semantic interoperability mean?
A. Devices use the same voltage
B. Systems share a physical cable
C. Systems agree on the meaning of exchanged data
D. All devices use identical processors
Correct Answer: C. Systems agree on the meaning of exchanged data
Question 9
Which technology provides a persistent bidirectional channel suitable for live browser updates?
A. WebSockets
B. 6LoWPAN
C. SLAAC
D. ICMPv6
Correct Answer: A. WebSockets
Question 10
A sensor sends 20 bytes every five minutes. Ignoring headers, how much application payload does it send per day?