device management for internet of things constrained devices oma lightweight m2m

19
Device Management for Internet of Things Constrained Devices OMA Lightweight M2M Duncan Purves Connect2 Systems [email protected] http:connect2.io

Upload: duncan-purves

Post on 15-Apr-2017

2.449 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Device Managementfor

Internet of Things Constrained DevicesOMA Lightweight M2M

Duncan PurvesConnect2 [email protected]:connect2.io

Page 2: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Why do we needRemote Device Management?

Page 3: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

The devices are often deployed inremote or difficult to access locations

locations

This impacts the cost of managing and maintaining the devicesPhoto Source: Wikimedia Commons;; Author Peripitus

Page 4: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Must be easy to update device softwarefor new features and bug fixes

Toyota

Recall 1.9 million Prius hybrids

Because of a software fault that may cause the vehicle to slow

down suddenly

Over-­the-­Air software update to its Model S vehicles

To fix an overheating issue

Tesla

Page 5: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Security – you need to be able update device firmware

Page 6: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

What challenges do we face?

Page 7: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Challenges – Powering IoT devices and sensors

In many industrial situations the sensors/devices will be powered from batteries that require a lifetime of 5 -­ 10 years⁃ You do not want to flatten the battery when performing a firmware upgrade!

Photo Source: Wikimedia Commons;; Authors: Matthew D. Wilson LtPowers & Accu4all

Page 8: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Constrained Devices and Networks

limited CPU and memorylimited communications bandwidth

on a wireless network

Page 9: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Device Management Standards

Page 10: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

IoT Remote Device Management StandardsHistorically there has been no industry standard for the remote management of M2M/IoT devices

This contrasts with industry standards available that cater for the remote management requirements of:

§ Fixed network broadband DSL routers (TR-­69)§ Enterprise IP networks (SNMP)§ Mobile phones (OMA DM)

Leading Industry Forum the Open Mobile Alliance is developing a new industry standard for IoT constrained devices:

§ OMA LightweightM2M v 1.0 (LWM2M)http://technical.openmobilealliance.org/Technical/technical-­information/release-­program/current-­releases/oma-­lightweightm2m-­v1-­0

http://openmobilealliance.org/

Page 11: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

OMA Lightweight M2M Deployment Scenario

© 2015 Open Mobile Alliance Ltd

Page 12: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Device Management -­ OMA Lightweight M2M Protocol

Protocol Stack

Overall architecture of the LWM2M Enabler

© 2015 Open Mobile Alliance Ltd

Page 13: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

An Object defines a grouping of Resources, for example the Firmware Update Object contains all the Resources used for firmware update purposes

© 2015 Open Mobile Alliance Ltd

LWM2M Resource Model

Page 14: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Device Management & Service Enablement Interface

© 2015 Open Mobile Alliance Ltd

§ Is used to access Resource and Object instances§ Operations that can be performed include:

Ø Read, Discover, Write, Write Attributes, Execute, Create, Delete

Page 15: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

LWM2M Objects defined by OMA LWM2M 1.0

© 2015 Open Mobile Alliance Ltd

Object Object ID

LWM2M Security 0LWM2M Server 1Access Control 2Device 3Connectivity Monitoring 4Firmware 5Location 6Connectivity Statistics 7

Other organizations and companies may define additional LWM2M Objects e.g. IPSO Alliance Smart Objects

http://www.ipso-­alliance.org/

Page 16: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

LWM2M Open Source Clients & Servers

§ Leshan is an Eclipse project LWM2M Server implementation in Java

§ Wakaama is an Eclipse project LWM2M Client

§ hawkBit is an Eclipse project that aims to create a domain independent back end solution for rolling out software updates

https://projects.eclipse.org/projects/technology.wakaama

https://projects.eclipse.org/projects/iot.hawkbit

http://www.eclipse.org/leshan/

Page 17: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Eclipse Leshan Sandbox Server

Page 18: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

Wide Area Gateway

Edge Gateway

IPv6/4 Cellular/Ethernet Interface

Connect2 Systems Device Management Solution

Wireless Sensor Node

Wireless Sensor Node

Wireless Sensor Node

Wireless Sensor Node

CellularPublic/Private Data Network

LWM2M Server

Remote ManagementApplication

IoTApplicationPlatform

Sensor Data

Wireless Sensor Network Manager

LWM2M Client

Smart Objects

MQTT Broker

Sensor Network ManagerInterface

Cellular/Ethernet Router

IoT App PlatformProtocols

FTP

Firmware Image Compression + Package Generator

LWM2M Bootstrap Server

DM Client

DM Client

DM Client

DM Client

6LoWPAN

© 2016 Connect2 Systems Limited

Page 19: Device Management for Internet of Things Constrained Devices OMA Lightweight M2M

devicepilot

We will demonstrate end-­to-­end remote management with ‘devicepilot’ cloud based software service at the next IoT Thames Valley Meetup on 25 May, 2016

http://www.meetup.com/Internet-­of-­Things-­Thames-­Valley/

http://www.devicepilot.com/