30
Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24 th, , 2012 Delivering Open Source M2M enablers

Koneki @ Eclipse Day Toulouse 2012

Embed Size (px)

Citation preview

Page 1: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

• « this place, here »

• Delivering Open Source��� M2M enablers

Page 2: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ Wikipedia says:

2

Machine-to-Machine (M2M)

[…] technologies that allow both wireless and wired systems to communicate with other devices of the same ability.

Page 3: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

M2M application example

Page 4: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§  The market is fragmented Hardware, software, protocols…

all different, independent Lack of integration…

between devices, to enterprise systems

§ M2M development is complex Many different skills required…

Hardware, Embedded, IT network, Telecom, web No common architectural guidelines

§ Current options are closed Monolithic solutions…

device specific, app specific, market specific

Proprietary SDKs, protocols, potential vendor lock-in

State of the Union

Page 5: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Creation of an Open Ecosystem for M2M

Page 6: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

6

Koneki project

providing M2M solutions developers with tools easing the development, simulation, testing/debugging and deployment of such solutions

Page 7: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Open M2M Tools

Page 8: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ Created in May 2011 § Initial contribution

§  IDE for Lua developers

§ Earlier this year §  OMA-DM simulator

§ Joining Juno release train!

Timeline

Page 9: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

What is available

Lua Development Tools

Data model

Data model editor

OMA-DM simulator

OMA-DM client

Page 10: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Lua on

Steroids

Page 11: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

??? What is

Lua all about

Page 12: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

“Lua is a powerful, fast, lightweight, embeddable

scripting language.”

http://www.lua.org/about.html

Page 13: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Extending C/C++ applications with a configuration / scripting engine

Rationale

Page 14: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Extending C/C++ applications with a configuration / scripting engine

§  Based on a virtual machine

§  Can load source code / read char streams

§  And compile it into portable bytecode

Rationale

Page 15: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Extending C/C++ applications with a configuration / scripting engine

§  Tiny core (150kB)

§  Pure ANSI C

§  Simple C API

Rationale

Page 16: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Extending C/C++ applications with a configuration / scripting engine

§  DSL building kit

§  Provides only basic features

§  And a powerful runtime

Rationale

Page 17: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Gaining momentum

§ Video games §  World of Warcraft

§  Havoc physics engine

§  AI scripting

§ Mobile §  Corona SDK

§  Moai

§  LÖVE

§ App scripting §  Adobe Lightroom

§  Redis (key-value store)

§ Embedded §  Brew MP

(Qualcomm)

§  eLua (Petrobras)

§  AAF (Sierra Wireless)

Page 18: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

??? What is

missing

Page 19: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

IDE support

Page 20: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

http://www.eclipse.org/koneki/ldt/

Page 21: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Lua strengths §  Dynamic §  Embeddable

are double-edged swords

that make tooling support tedious.

Tooling for Lua? Tricky!

Page 22: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

LDT for Lua development

Page 23: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

LDT for m2m development

Page 24: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

m2m.eclipse.org MQTT broker

Wireless gateway Mobile phone

Wireless (Zigbee) sensors

Page 25: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ Embedded

Aleos Application Framework

Collects Zigbee data on device’s serial port

Publishes MQTT messages

§ Mobile

Corona SDK   .

Subscribes to MQTT messages

Displays sensor data with a fancy UI

Two Lua applications

Page 26: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

Lua §  Main site http://lua.org

§  Kepler project http://www.keplerproject.org/

LDT §  Koneki http://www.eclipse.org/koneki/ldt

§  Installation http://download.eclipse.org/koneki/updates/

§  Wiki http://wiki.eclipse.org/Koneki

§  Forum http://www.eclipse.org/forums/eclipse.koneki

Useful links

Page 27: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ OMA Device Management is an XML-based protocol used to manage (provisioning, configuration, SW upgrade, …) mobile devices

OMA-DM simulator

Page 28: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ Koneki provides: §  An OMA-DM client,

§  An interactive simulator allowing to synchronize the nodes and values of a local management tree with a remote OMA-DM server

§ It allows developers to easily visualize complex OMA-DM communication scenarios, including SW/FW updates

OMA-DM simulator

Page 29: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

§ More tools §  Code generation

§  Bandwidth estimation

§ An actual embedded M2M framework? §  Device & Connectivity management

§  Application management

What next?

Page 30: Koneki @ Eclipse Day Toulouse 2012

Copyright © 2012 Sierra Wireless. All Right reserved. Made available under the Eclipse Public License v1.0. Eclipse Day Toulouse May 24th,, 2012

??? Any Questions

www.eclipse.org/koneki wiki.eclipse.org/Machine-to-Machine