You are on page 1of 17

Network Technology

NT Program
Week Theory

1 Brief Repetition Network Technologies, Home Network: A Day in the


Life scenario, Assignment 1
2 TCP/UDP, Assignment 2

3 HTTP, Web Services, Assignment 3

4 IoT Application Protocols, Assignment 4

5 IoT LP WANs, Round-up Assignment 4

6 Security, Assignment 5

7 Round Up
IoT

https://www.researchgate.net/publication/
323528446_A_survey_on_the_challenges_and_opportunities_of_the_Internet_of_Things_IoT/figures?lo=1
IoT Architecture

Perception/Sensing Network Layer Application Layer


Layer
Low Power Network Protocols in Layered Model

Graphic: EU Butler Project - Communication Issues


Application IoT Protocols
Web Services
Web Services

Request

Request : 2 persons
Stockholm-Tokyo Airline
Travel Agent Server
Server
Replies

Replies:
SAS : Stockholm-Kopenhagen-Tokyo
KLML Stockholm-Amsterdam-Tokyo
Airline
Server

Source : http://www.embedded.com/design/real-world-applications/4420564/2/Building-an-IoT-web-services-framework-with-smart-objects--Part-1
Web Services for Smart Objects (IoT)
IoT Web Services

Temperature
Sensor

Temperature
Sensor
Building
Automation
Temperature
Server Sensor

Serv
er confi
gure
s radia
to r

Radiator

REST Architecture is better suitable


Source : http://www.embedded.com/design/real-world-applications/4420564/2/Building-an-IoT-web-services-framework-with-smart-objects--Part-1
MQTT
• Publish/Subscribe Client/Server Protocol
• Lightweight, simple, easy to implement
• Small code and network bandwith footprint
MQTT in the previos example
topic MQTT Server Publ
re ish:
tu Tsen
era (Broker) sor/
1
mp /18
/Te
fig
on
r/C

Pu
o
iat

bl
ish
a d Temperature

Publish: Radiator/Config/21
R 1

:T
: 2
be g/ Sensor

se
ri fi

ns
c n
bs o

o
Su r/C

Pub

r/
o

2
t
dia

/1
lish
a

7
:R
Building sh

: Ts
bli
Pu

e ns
Automation

o r/
Server

3/2
Temperature

0
Sensor

Temperature
Sensor

Radiator
MQTT Topics
• Messages on MQTT are published on topics
• Topics don’t need to be configured, they have
to be published
• Topics are organized in hierarchical structure
• Example:

Radiator/Config/Temperature
MQTT Protocol Stack
REST in IOT
Constrained Application Protocol
CoAP
• REST model
• Very similar to HTTP, thus easily usable by Web
API Developers
• Integrates easily with XML, JSON and CBOR
• Designed to work on very small microcontrollers
with as low as 10KiB of RAM and 100KiB of code
space
• Uses minimal resources and protocol stack (UDP)
CoAP
• Integrated discovery protocol by using CoAP
resource directory
• Strong security features by using DTLS
protocol
CoAP in the previous example

erat ure
t/ Te mp
] Ge
Temperature

d 45 4 6
t “ 20,5” Sensor

O N : [0 x 0 Co nten
C
4 6 ] 2.05
[ 0 x 0 d4 5
Building ACK:
Automation
Server
REST in IOT

You might also like