6. IoT Devices: constrained nodes
§ https://tools.ietf.org/html/rfc7228
§ Target of price lower as possible. Less than 1$??
6
Class RAM Flash
Class 0 < 1KB <100KB
Class 1 ~10KB ~100KB
Class 2 ~50KB ~250KB
7. IoT Agents: Connecting IoT Protocols to FIWARE
7
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
CoAP
802.15.4
UDP
IoT Device
IPv6, RPL
6LoWPAN
App protocol
IoT Agent
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
1000s of bytes
10/100s of bytes
8. IoT Agents: Connecting IoT Protocols to FIWARE
8
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
CoAP
802.15.4
UDP
IoT Device
IPv6, RPL
6LoWPAN
App protocol
IoT Agent
802.15.4
UDP
IPv6, RPL
6LoWPAN
IPv4
TCP
CoAP
App protocol
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
1000s of bytes
10/100s of bytes
19. IoT Agents: active attributes
19
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1.
2.
3.
NGSI
IoT
Comm
1. Device sends information updates
2. Agent sends NGSI request
3. External system is notified or queries CB
data
§ Device may be sleep to reduce energy
consumption
26. Main IoT Agents available: Ultralight 2.0
26
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
MQTT / HTTP
TCP
IoT Device
ULTRALIGHT
IoT Agent
TCP
IPv4
TCP
MQTT / HTTP
ULTRALIGHT
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
27. Main IoT Agents available: Ultralight 2.0
§ Measure payload syntax
• temperature | 15 | position up
§ Does not support lazy attributes
§ https://github.com/Fiware/iot.IoTagent-UL
§ Un-appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
§ Data model based on shorter text messages
27
28. Main IoT Agents available: JSON
28
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
MQTT
TCP
IoT Device
JSON
IoT Agent
TCP
IPv4
TCP
MQTT
JSON
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
29. Main IoT Agents available: JSON
§ Measure payload syntax
• {“temperature”: 40.2, “position”: “left”}
§ Does not support lazy attributes
§ https://github.com/Fiware/iot.IoTagent-JSON
§ Un-appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
§ Data model based on JSON standard objects
29
30. Main IoT Agents available: OMA Lightweight M2M
30
http://openmobilealliance.org
31. Main IoT Agents available: OMA Lightweight M2M
31
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
DTLS / CoAP
UDP
IoT Device
LWM2M
IoT Agent
UDP
IPv4
TCP
DTLS / CoAP
LWM2M
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
32. Main IoT Agents available: OMA Lightweight M2M
§ Object model
• Based on Object and Resource hierarchy (e.g.: /1/12/3)
• OMA Registry
§ https://github.com/Fiware/iot.IoTagent-LWM2M
§ Appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
32