Koneki @ Eclipse Day Toulouse 2012

Preview:

Citation preview

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)

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

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

IDE support

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/

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!

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

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

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

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

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

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

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

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?

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

Recommended