Lec 3
Lec 3
Lec 3
Lect. 3
2
COMMUNICATION CHANNELS
• IoT systems enable Things to communicate with servers as well as other
Things, internet technology provides the foundation for this
communication.
• An IoT system communicates by combining IoT specific internet protocols
and a method for connectivity
• Internet Protocols
• Existing internet protocols, such as Transmission Control Protocol/Internet
Protocol (TCP/IP), are often too inefficient and power hungry to apply to
emerging IoT applications.
• we will discuss some alternative internet protocols developed for use by
IoT systems.
• Message Queuing Telemetry Transport (MQTT) and Constrained
Application Protocol (CoAP) are two alternative internet protocols.
3
TRANSPORT
• QoS 0: best effort delivery at most once.
• Retained messages: publishers can retain the last message on a topic so that new
TCP/IP REVIEW
• Before going further, it is helpful to review existing
internet layers and protocols.
• The internet is based on TCP/IP communications and operates
using the 7 layer
OSI (open system
interconnection)model
or 4 layers model
shown in
the following chart
PROTOCOL SUMMARY
• MQTT and CoAP are becoming the leading, lightweight messaging
protocols for the IoT market.
• Each protocol offers unique benefits with some fundamental differences.
Both protocols are used for mesh-networking applications, in which
lightweight end nodes are a necessary aspect of almost every network.
• Both also act as a gateway for bridging logic to allow inter-standard
communication.
• MQTT is most commonly run in Asynchronous only
• For higher-level security, other protocols such as Data Distribution Service
(DDS) or extensible Messaging and Presence Protocol (XMPP) should be
considered
11
PROTOCOL SUMMARY
CONNECTIVITY SOLUTIONS
• An internet protocol relies on connectivity to transport data
between nodes. Connectivity can be thing-to-thing, thing-to-
server, or server-to-server. There are sever-all node architecture
options. They can range from simple, point-to-point solutions, to
complex, sophisticated solutions.
Connectivity options for IoT systems include:
1. Wired Direct: The IoT device is physically wired into the internet (e.g.
Ethernet)
2. Wireless Direct: The IoT device wirelessly communicates with the
internet (e.g. a Wi-Fi or cellular connection).
3. Wireless Local Connection, Wired Internet Connection: The IoT
device communicates wirelessly with a local system using a short
range, local connectivity solution. The local system, itself, is physically
wired into the internet (e.g. via ethernet)
14
CONNECTIVITY SOLUTIONS
• Wireless Local Connection, Wireless Internet Connection: The IoT
device communicates wirelessly with a local system using a short range,
local connectivity solution. The local system, itself, connects wirelessly to
the internet.
• Star Network
• A star network has a central node managing connections with many other
nodes. The central node is the hub, or access point (AP). The AP connects to
the internet, providing the connection for all other nodes. Nodes do not talk
to each other unless the AP forwards the message.
• Mesh Network
• A mesh network allows nodes within a specified range to talk to one another.
Using multiple paths from the source node to the destination node, creates a
robust network. However, the routing can get complicated depending on the
requirements of the system. Typically, the internet connects to only one
node in this network type.
15
WIRELESS RADIO TECHNOLOGY
16
• What is the best wireless technology for IoT applications? The answer
is, there isn’t one. There are numerous candidates for wireless
technology. Which candidate is best is dependent on the design
constraints of the IoT system. Below is a helpful chart to organize
your constraints as you read through the IoT wireless solutions
17
18
END