rtosrtos linuxlinux iot device html5/javascripthtml5/javascript companion cordovacordova plugin...
Post on 19-Dec-2015
249 Views
Preview:
TRANSCRIPT
RTOS
Linux
IoT Device
HTML5/Javascript
Companion
Cordova
plu
gin
Physical I/O: GPIO, ADC, I2C, SPI, etc.
• Gateway• Name server• Analytics• Etc.
1
Develop companion HTML5 apps to interface to IoT devices.Note: XDK facilitated cloud services programming is not part of the current proposal but is a future possibility
Application*
*Application can be written using any supported language on device.
Intel® XDK for IoT – Integration Point #1
Dev System
Develop Node.js/Javascript applications on IoT devices.
2
Intel XDK
IoT Device2
This capability can be combined with #1 for a single IDE, single language solution.
RTOS
Linux
Physical I/O: GPIO, ADC, I2C, SPI, etc.
Node.js Application
• Edit Node.js app
• Send app to device
• Run app remotely
• Remote debug
Intel® XDK for IoT – Integration Point #2
WebSocket (ws)
Websocket (ws)
Debug Protocol Translator
V8 Debug Protocol
Node.js App
appDaemon Protocolrun, stop, restart, install,
debug, sync
Intel® XDK
Chrome Debug Protocol (ws)
Intel® XDK IoT Device Daemon OverviewSeparate web-sockets for debug protocol and daemon protocol
IoT Device
Dev Machine Running
XDK
Chrome Debug Protocol (ws)
4
JavaScript I/O Libraries (for Galileo)mraa – open source library for Galileo/Edison used API similar to the MBED api (Intel Developer Relations [DRD])
io-js- open source library for Galileo/Edison used API similar to the Arduino API (Intel Labs China [ILC])
johnny-five – Open source I/O library with plugins for various boards including Galileo (Gen2 support in the works)
on/off – open source i/o library that can be used to manipulate ‘raw’ GPIO/PWM via sysfs interface
i2c – node.js i2c library (uses sysfs)
+More: Lots of node.js modules for various hardware, etc.
top related