Sierra Wireless Developer Day 2013 - 11 - AirVantage M2M Cloud
Upcoming SlideShare
Loading in...5
×
 

Sierra Wireless Developer Day 2013 - 11 - AirVantage M2M Cloud

on

  • 1,482 views

By David Sciamma - Director, AirVantage engineering

By David Sciamma - Director, AirVantage engineering

Statistics

Views

Total Views
1,482
Views on SlideShare
629
Embed Views
853

Actions

Likes
0
Downloads
25
Comments
0

5 Embeds 853

http://developer.sierrawireless.com 799
http://uat.sierrawireless.com 44
http://devuat.sierrawireless.com 5
http://sierrawireless7dp.e-cubed.biz 3
http://www.sierrawireless.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Sierra Wireless Developer Day 2013 - 11 - AirVantage M2M Cloud Sierra Wireless Developer Day 2013 - 11 - AirVantage M2M Cloud Presentation Transcript

  • PageAirVantage M2M CloudA survival guide for newcomersDavid Sciamma – AirVantage R&D Director
  • Page 2What you could do with AirVantageSierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • Page 3What you could do with AirVantageSierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • PageOne click registration of ready-to-use solutions:4Manage your systemsSierra Wireless Proprietary and Confidential
  • PageManage and monitoring your fleet of systems:•  Dashboard•  Monitoring of status parameters•  Alerts•  Device management actions•  Reboot, Firmware upgrade, Configure, Wake-up, SMS, AT commands•  Diagnostic•  Communications and status parameters historyDocumentation: AirVantage > User Guidehttps://doc.airvantage.net/display/USERGUIDE/AirVantage+M2M+Cloud+User+Guide5Manage your systemsSierra Wireless Proprietary and Confidential
  • Page 6Manage your systemsSierra Wireless Proprietary and Confidential
  • Page 7Manage your systemsSierra Wireless Proprietary and Confidential
  • Page 8Manage your systemsSierra Wireless Proprietary and Confidential
  • Page 9What you could do with AirVantageSierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • PageSierra Wireless devicesLinux-based devicesDevices supporting HTTP10Sierra Wireless Proprietary and ConfidentialDevelop yoursolution
  • PageSierra Wireless devicesð pre-integrated with AirVantageLinux-based devicesð Port Mihini open source agent to add device management featuresDevices supporting HTTPð use REST API for devices to send and receive data11Sierra Wireless Proprietary and ConfidentialDevelop yoursolution
  • PageSierra Wireless devices12Develop yoursolutionSierra Wireless Proprietary and ConfidentialUsing ALEOS ApplicationFrameworkUsing OpenAT and theAirVantage agent
  • PageExample:Documentation: Developer Zone > ALEOS AFhttp://developer.sierrawireless.com/ALEOS_AF13Using ALEOS AFSierra Wireless Proprietary and Confidentiallocal airvantage = require "airvantage"local sched = require "sched"local function main ()local server, status-- Initialize the link to the ReadyAgentairvantage.init()-- Create a new instance of an asset.local helloasset = assert (airvantage.newAsset("HelloAirVantage"))-- Start the asset to enable sending and receiving data.assert (helloasset:start(), "Cant register Agent")sched.wait(10)-- Put a state into the queuehelloasset:pushdata("uplink", {State=1}, "now")endsched.run(main)sched.loop()
  • PageSierra Wireless devices14Develop yoursolutionSierra Wireless Proprietary and ConfidentialUsing ALEOS ApplicationFrameworkUsing OpenAT and theAirVantage agent
  • PageExample:Documentation: Developer Zone > Create an AirVantage Open AT Applicationhttp://developer.sierrawireless.com/Resources/Resources/AirVantage/Educational_Documentation/Tutorial_AirVantage_OpenAT_DevStudio_App.aspx15Using OpenAT andAirVantage agentSierra Wireless Proprietary and Confidential...case AWTDAHL_DATAMANAGER_CREATE_EVENT:if (status == AWT_STATUS_OK){// Create data object to be sent and put data in the DataManagerAwtDaObject* data = AWT_String_New("Hello world!");push_message(data, "", "message" );// Flush manager only after adding all data and Release objectsAWT_HL_A_DataManager_Flush(pDataManager);AWT_DaObject_Release(data);} else {// Here a problem happened ...wip_debug("AWT_HL_A_DataManager_Create failed with error code %dn", status);}break;case AWTDAHL_DATAMANAGER_FLUSH_EVENT:...
  • PageLinux-based devices16Develop yoursolutionSierra Wireless Proprietary and ConfidentialUsing Mihini and Koneki
  • PagePort Mihini onto your Linux-based devices:•  To manage the lifecycle of your application•  Install, Start, Stop, Upgrade, Uninstall•  To monitor status parameters•  To support device management actions•  Reboot, Configure, Wake-up, SMSThen develop using Mihini and Koneki (same as ALEOS AF)Documentation:http://www.eclipse.org/mihini/http://www.eclipse.org/koneki/http://m2m.eclipse.org/17Mihini & Koneki ?Sierra Wireless Proprietary and Confidential
  • PageDevices supporting HTTP•  REST API for devices•  To store data•  To get tasks (Read data, Write data, Execute command)18Develop yoursolutionSierra Wireless Proprietary and Confidential
  • PageExample:Documentation will be published with AirVantage 13.319Using HTTP APIfor deviceSierra Wireless Proprietary and Confidential> POST https://na.airvantage.net/devices/api/messages["temperature" : [{"value": "28","timestamp": 1348683054569}, {"value": "26","timestamp": 1348503053478}, {"value": "25","timestamp": 1348303057000}]}]< HTTP 200
  • PageUse AirVantage M2M Cloud:•  To view messages and debug communication•  To view stored data•  To send commands20Develop yoursolutionSierra Wireless Proprietary and Confidential
  • PageSierra Wireless Proprietary and Confidential 21Use AirVantageM2M Cloud
  • PageSierra Wireless Proprietary and Confidential 22Use AirVantageM2M Cloud
  • PageUse AirVantage API to create an application specific to yourbusiness:•  Custom display for your systems•  Mobile application•  Business dashboards•  Advanced analytics from dataEverything is available through APIDocumentation: AirVantage > Develop > API Documentationhttps://na.m2mop.net/develop/apiDocumentation23Develop yoursolutionSierra Wireless Proprietary and Confidential
  • Page 24AirVantage APISierra Wireless Proprietary and Confidential
  • Page 25What you could do with AirVantageSierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • PageSierra Wireless Proprietary and Confidential 26?
  • PageExample:•  Use API to get temperature and humidity27AirVantage APISierra Wireless Proprietary and Confidential> GET https://na.airvantage.net/api/oauth/token?grant_type=password&username=myLogin@anymail.com&password=654dzzMk&client_id=my-trusted-app&client_secret=545fe77|544zzx<{"access_token": "fe47d528-7414-4962-a7e6-ee6b82491f7a","refresh_token": "9b465388-c9e2-45d3-98d0-1a44a503ec40","expires_in": 43199,}> GET https://na.airvantage.net/api/v1/systems/6500ee29f8ed4e3991dff484b3ce3e73/data?access_token=fe47d528-7414-4962-a7e6-ee6b82491f7a&ids=house.temperature,house.humidity<{"house.temperature": [ {"value": 25.0,"timestamp": 1331906459440}],"house.humidity": [ {"value": 72.3,"timestamp": 1331906459440}]}