1 / 4

AllJoyn.js Feature/Project

AllJoyn.js Feature/Project. What is AllJoyn.js?. AllJoyn + Javascript ECMAScript ( Javascript ) language interpreter and compiler for small IoT devices Integrate AllJoyn onboarding and config , notifications, control panel, events/actions Provide for OTA installation of script files

paul-moon
Download Presentation

AllJoyn.js Feature/Project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AllJoyn.js Feature/Project

  2. What is AllJoyn.js? • AllJoyn + Javascript • ECMAScript (Javascript) language interpreter and compiler for small IoT devices • Integrate AllJoyn onboarding and config, notifications, control panel, events/actions • Provide for OTA installation of script files • Enable remote debugging over existing AllJoyn physical transports. (No JTAG, No USB) • Native code support • Easily integrate native code (C/C++) with ES into compiled executable for target device • High-level programming constructs • Portable • Built-in regular expression engine • Built-in Unicode support • Hardware support • Language extensions or new functions included for interaction with hardware interfaces typically found on microcontrollers (GPIO, PWM, I2C, SPI, ADC, DAC) • Compact footprint • 128KB RAM, 500KB Flash AllJoyn.js ECMAScript Engine AllJoyn Core +Services Hardware Abstraction Layer ADC PWM DAC UART I2S I2C SPI GPIO

  3. Why is it important? It’s all about Time-To-Market pb=IO.pin("C6", IO.PullDown);pb.trigger(IO.FallingEdge, function(){ AJ.notification(AJ.notification.INFO, "Button Pushed!").emit(100); }); varcp = AJ.controlPanel();var c1 = cp.containerWidget(cp.VERTICAL, cp.HORIZONTAL);var bright = c1.propertyWidget(cp.SLIDER, 50, "Brightness:");bright.range = { min: 0, max: 100, increment: 2, units: "percent" };var brightness = 0.5;var led = IO.pin(1, IO.Output);bright.onValueChanged = function (val) {led.pwm(1 - (bright.value / 100), 200);} • Leverage large Javascript developer community for IOT applications • Maker community driving a lot of innovation and major shift in product development for IOT • Simplify IOT application development • Embedded C development experience not required • Simplified AllJoyn setup & access to service frameworks • Simplified access to hardware (GPIO, SPI, I2C, PWM, ADC, DAC) • Device drivers can be written in C or ES and called from ES • Portable • User code can be moved to different devices that support AllJoyn.js • No recompilation of ES code • Will require native code (if used) to be re-compiled for new target • Will require pin mapping tables to be updated Code for sending AJ Notification on button press Code for exposing Control Panel slider to change LED brightness

  4. For more information on AllSeen Alliance, visit us at: allseenalliance.org & allseenalliance.org/news/blogs

More Related