Sierra Wireless Device to Cloud platform will provide solution for end to end IoT applications. 

The document below is in the following format:

  1. Introduction to Device to Cloud platform

  2.  APIs Hackathon

  3.  Architecture Explanation

  4.  Using the platform


    Introduction to Device to Cloud platform-> 


 

The platform includes the following components:

a. mangOH Red open hardware platform:  mangOH Green is an open hardware reference design purpose built for cellular connectivity. 

 Smart WP module forms the core of the mangOH platform . It incorporates a telecom core that will provide 2G to 4G connectivity as well as a GNSS connection.  It also has an application core with multiple interfaces like SPI,I2C,SDIO, HSIC, UART, USB. These interfaces allows developers to connect Wireless, Wired and sensor technologies. The present gen WP application core has a cortex A5 at 550MHz and 2Gb NAND and 1Gb RAM reserved for application development

 

 

mangOH Red provides a number of built in features that are all described here: http://mangoh.io/mangoh-red 

All reference documentation is available here: http://mangoh.io/mangoh-red-resources

Sample apps are available here: https://github.com/mangoh

 

b. Legato Open Source Embedded Linux Framework:  An open source Linux-based embedded platform designed to simplify connected IoT application development. Using Legato Framework  developers with limited hardware, wireless, embedded or cloud expertise can build applications easily.

There are essentially 3 parts to Legato. 

  1. The first part is a Linux Distribution.  Specifically, an it’s an embedded Linux distribution tailored to run on Sierra Wireless’s Linux-capable modules to start with (since Sierra has funded the whole project so far), with select security features enabled. Legato Linux is based on the Linux Foundation’s Yocto Project.
  2. The second part is the Legato Application Framework. This builds on top of standard POSIX and Linux APIs, complementing them. It includes Connectivity APIs and tools to make using cellular easy. It provides helpful tools for building and deploying embedded applications into the field. Includes support for multiple programming languages. And it also provides application sandboxing.  That is all applications are isolated from each other to help prevent any problems in one application taking down another.
    The framework update process also enables automatic rollback so that a bad software update will not brick your device.
  3. The third part is the development environment.

 

We start with command-line tools that help you:

  • build your apps.
  • configure your devices.
  • install, remove, start, and stop apps on your devices.
  • debug your running code.

 

We then add an Eclipse-based IDE, which supports most of the features offered by the command-line tools, and adds graphical tools for

  • discovering target devices on your network.
  • managing and editing files directly on your device via sftp.
  • doing symbolic debugging using a graphical frontend to gdb.
  • editing source code, with syntax highlighting and context-sensitive help.

c. Air Vantage cloud platformAirVantage lets you capture and exploit data from any device deployed in the field, opening many new possibilities for your business processes, service applications, and revenue streams. 

d. Sierra Wireless Smart SIMThe Sierra Wireless Smart SIM is specifically designed for mission critical mobile and fixed IoT use cases. 

mangOH Green open hardware platform

 

More information on mangOH/Legato/AV can be found at:

 

Connectivity for the hackathon is provided by the following :

  • 2G/3G/4G  CF3 WP modem
  • Red Sensor to Cloud prebuilt app  that will push the following data to cloud:
    a. Temperature
    b. Pressure
    c. GPS
    d. Accelerometer 
    e. Gyro
    f. Shock values

If you want to read up on the app, look here: https://github.com/mangOH/RedSensorToCloud

APIs for Hackathon

The APIs we will provide for building various IoT use cases include (but not limited to):

Legato API

 

AirVantage API:

 API to connect AirVantage to enterprise software (https://doc.airvantage.net/av/howto/gettingstarted/

 


Hackathon Architecture


Built in IoT  application will take input from various on boards sensors and send data to cloud. We provide ability to send data to third party cloud like AWS or IBM Bluemix.

Sensor data is as described above.

 

 

 

Using the Hackathon Platform

Please follow the mangOH Getting Started   to get familiar with the platform.

  • For next steps, you need to get IMEI of board:root@swi-mdm9x15:~# cm info
  • Your unit is pre-registered to AirVantage
  • Login to your AirVantage acoount :

             url: eu.airvantage.net

             user name: [email protected] 

             password: swis2016!

  Alexa demo: https://github.com/mangOH/Demos/tree/master/SmartHome

Video tutorials on mangOH: 

mangOH Getting Started:  http://mangoh.io/mangoh-red-resources-getting-started

mangOH Hardware docs: http://mangoh.io/mangoh-red-resources-hardware

Legato API: http://legato.io/

 

Using IBM bluemix on built in app:

 

We will provide a container tracking system that will be pre-integrated with IBM Bluemix. Follow these steps:

 

 

 

In the system, in order to get data from mangOH you need to enter the following:

  • Server: eu.airvantage.net port 1883
  • Topic : IMEI/messages/json
  • QoS: 0 (Default)
  • Name: {Any desired text string} This is a text identifier for the MQTT Input Node

 

 

Match your input values for the following screen

 

  • User name : 359377060016085
  • password: SWI

 

 

Some users have reported problems consuming the payload once it is in Node-RED.  The javascript below should help to avoid a couple of pitfalls.

var msgStr = '{"payload": "{\\\"arduino.water\\\": true}"}';
var msgObj = JSON.parse(msgStr);
var payloadStr = msgObj["payload"];
var payloadObj = JSON.parse(payloadStr);
alert(payloadObj["arduino.water"]);

 

For direct response to questions, please register on the forum at  mangoh.iohttp://forum.mangoh.io/

For direct response to questions, please register on the forum at  mangoh.iohttp://forum.mangoh.io/

  • No labels