Device Managementfor
Internet of Things Constrained DevicesOMA Lightweight M2M
Duncan PurvesConnect2 [email protected]:connect2.io
Why do we needRemote Device Management?
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
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
Security – you need to be able update device firmware
What challenges do we face?
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
Constrained Devices and Networks
limited CPU and memorylimited communications bandwidth
on a wireless network
Device Management Standards
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/
OMA Lightweight M2M Deployment Scenario
© 2015 Open Mobile Alliance Ltd
Device Management - OMA Lightweight M2M Protocol
Protocol Stack
Overall architecture of the LWM2M Enabler
© 2015 Open Mobile Alliance Ltd
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
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
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/
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/
Eclipse Leshan Sandbox Server
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
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/