OMA LwM2M Workshop - Antonio Jara, OMA LabKit
-
Upload
open-mobile-alliance -
Category
Technology
-
view
497 -
download
1
Transcript of OMA LwM2M Workshop - Antonio Jara, OMA LabKit
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 1
OMA LWM2M LabKit
Dr. Antonio J. Jara
HOP Ubiquitous S.L. (CEO)
IEEE Communications Society Internet of Things Technical Committee (Vice-chair)
[email protected] in confidence | © HOP Ubiquitous S.L. 2015
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 2
OMA LWM2M: Introduction
Background
Open Mobile Alliance (OMA) was established in 2002
OMA LWM2M is the evolution of the expertise
from OMA in Device Management (DM) for
addressing the new requirements from
constrained devices and fill the gap between 3GPP, IETF
CoAP, ETSI and OMA-DM
Define interfaces, protocols (SMS, CoAP) and security
support between machines and the server/cloud
Define a Object and Resources Data Model
(Semantic)
Leverage the expertise in Device Management with
support for firmware update, connectivity,
discovery, access control, bootstrapping and remote
management
Goals
Bootstrapping: Pre-provisioned of security
credentials (keys, tokens) , configuration of LWM2M
Servers IP, etc.
Registration: Register the Client and its OMA Web Objects in the Resource
Directory (Local or Cloud)
Management and Service: Operational mode to read,
update, and manage objects/resources
Information Reporting: Observation of Resources for
events notification
Functions/Interfaces
A device can have multiple Objects. An Object is a
collection of resources. A resource is the atomic piece of data (e.g., temperature value, sampling frequency)
OMA and other SDOs 1 can define and register Objects
Object Data Model presents a highly efficient payload
Objects and Resources can have multiple instances.
/{Obj. ID}/{Obj. Instance}/{Res. ID}/
Supported meta-data for security control such as Access Control List (ACL)
Object Data Model
1- HOP Ubiquitous is member of IPSO Alliance & OMA Web Objects Builder.
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 3
Architecture Overview (Standards-driven perspective)
Th
ings
Netw
ork
Servic
es
Ap
plic
atio
ns
OMA LWM2M Server
Device Management, Repository,
Directory, Bootstraping Server, Security
OMA LWM2M Client
OMA Web Objects (Resources)
Temperature, battery, firmware…
IPv6
/ UD
P-TC
P / C
oA
P-H
TTP / D
TLSO
MA
LWM
2M
Resources
IP(v6) Addressing,
Transport (UDP/TCP),
Security (DTLS)
OMA LWM2M App
RESTFul / CoAP communication
between the Applications and Objects
RoutersConnectivity &security:
Routers, Switches,
NATs, Firewalls…
Backend
Servers,
Data Centers, Cloud
Clients
Web, RESTFul
(CoAP, HTTP),
Browsers
Network
Interworking:
Cellular & Capillary
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 4
OMA Lab Kit overview - Ecosystem
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 5
HOPs: The value of our stack in a tiny device
HOP keyring
21HOP Extended
HOP Basic
3HOP Core
4HOP Wear 5
HOP Haku
6
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 6
LWM2M Sensor: HOP Core 30 x 15mm
External Antenna
IPEX Connector for external Antenna
for infrastructure deployments
(10 – 90 meters coverage)
LEDs
Notifications and
status indicationAntenna
Ceramic Antenna for personal
area and proximity solutions
(1 – 10 meters coverage)
Microphone
Activity analysis
based on noise
Temperature &
Humidty
Environmental
monitor
Buttons
Interaction with the User
GPIO
General Purpose Inputs and Outputs
Bluetooth SmartSystem on Chip Bluetooth Smart and
OMA LWM2M / CoAP / IPv6 transceiver
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 7
IoT Embedded Stack: OMA Client
1
2
IPv6-oriented (CoAP/UDP/DTLS)
OMA LWM2M by design
Security by design
Beyond Bluetooth Smart (IEEE
802.15.4g, WiFi Low Power)
Industry support(Real Time, Pub-Sub, Management)
3
4
5
6
HOP Configurator(Mobile Tool)
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 8
OMA LWM2M: Example of communication exchange
Bootstrapping
Registration
Subscription
Reporting
Management/Read
Management/Write Keep-alive
Maintenance
time
thing cloud
thing cloud
Request bootstrapfor endpoint name
Provision LWM2M Server Object(s)
thing cloud
GET 5/1/1 Observe
2.05 Content Observe
thing cloud
Read 2/0/0
Success / OMA Object
thing cloud
Firmware Update
Execute
thing cloud
Write 3/0/1Status off
Success
thing cloud
HeartBeat
thing cloud
2.04 Changed ObservedPOST /rd?ep=12&q
2.01 Created 2.04 Changed Observed HeartBeat
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 9
HOP Engineer Tool
Discovery &
commissioning Scan, discovery and set-up
of security / bonding
InterfacesInterfaces Tests and
Sensors interfaces
Firmware OTA
Cloud Repository &
firmware update
HOP Configurator
An engineering tool that
presents the capabilities from
HOP Ubiquitous for device
management Services AnalysisServices description,
interfaces for read/set
and subscription
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 10
OMA LWM2M LabKit - Library
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 11
Set-up LabKit: Stacks and Libraries
https://github.com/HOP-Ubiquitous/JUbiboxOMA
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 12
Scan / Connect
Scan, discovery and set-up the
connection with a Bluetooth device
OMA Server (Leshan extension)Leshan wrapper to read, write, and observe
OMA Web Objects / Resources
IPv6/6LoWPAN Border Router
GLoWBAL IPv6 support for addressing globally
the Bluetooth IPv6 sensors with IPv6
Device Listing
Device information, features,
objects supported, etc.
Set-up LabKit: Stacks and Libraries
https://github.com/HOP-Ubiquitous/JUbiboxOMA
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 13
OMA LWM2M DEMO
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 14
OMA LWM2M Server: Registration
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 15
OMA LWM2M Server: Device details
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 16
OMA LWM2M Server: IPSO Humidity
Open Mobile Naming Authority (OMNA)
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 17
OMA LWM2M Server: IPSO GPIO / Temperature
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 18
OMA LWM2M Server: New Objects (Noise)
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 19
OMA LWM2M Server: Observe
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 20
OMA LabKit Components
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 21
OMA LabKit Components –Mobile World Congress
Programmer
Debugger HOP Basic
Development Board
HOP Wear
BraceletHOP Haku
Ambient MonitorLWM2M Discovery
Mobile OMA Server
Exp
ert
Exp
lore
r
HOP Core
OMA LWM2M Sensor
USB Dongle
Gateway
To be released in the:
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 22
Contact details
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 23
Annex: A real-life DEMO // OMA Objects in EENA Standards
OMA LWM2M LabKit | Commercial in confidence | © HOP Ubiquitous S.L. 2015 | www.hopu.eu | Page 24
A real DEMO (Joint innovation with Fujitsu / HES-SO)
http://www.hopu.eu/?p=403