SlideShare uma empresa Scribd logo
1 de 27
Page
AirVantage M2M Cloud
A survival guide for newcomers
David Sciamma – AirVantage R&D Director
Sierra Wireless Developer Day – June 14th
Page 2
What you could do with AirVantage
Sierra Wireless Proprietary and Confidential
Manage your systems
Develop your solution
Page 3
What you could do with AirVantage
Sierra Wireless Proprietary and Confidential
Manage your systems
Develop your solution
Page
One click registration of ready-to-use solutions:
4
Manage your systems
Sierra Wireless Proprietary and Confidential
Page
Manage 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 history
Documentation: AirVantage > User Guide
https://doc.airvantage.net/display/USERGUIDE/AirVantage+M2M+Cloud+User+Guide
5
Manage your systems
Sierra Wireless Proprietary and Confidential
Page 6
Manage your systems
Sierra Wireless Proprietary and Confidential
Page 7
Manage your systems
Sierra Wireless Proprietary and Confidential
Page 8
Manage your systems
Sierra Wireless Proprietary and Confidential
Page 9
What you could do with AirVantage
Sierra Wireless Proprietary and Confidential
Manage your systems
Develop your solution
Page
Sierra Wireless devices
Linux-based devices
Devices supporting HTTP
10Sierra Wireless Proprietary and Confidential
Develop your
solution
Page
Sierra Wireless devices
 pre-integrated with AirVantage
Linux-based devices
 Port Mihini open source agent to add device management features
Devices supporting HTTP
 use REST API for devices to send and receive data
11Sierra Wireless Proprietary and Confidential
Develop your
solution
Page
Sierra Wireless devices
12
Develop your
solution
Sierra Wireless Proprietary and Confidential
Using ALEOS Application
Framework
Using OpenAT and the
AirVantage agent
Page
Example:
Documentation: Developer Zone > ALEOS AF
http://developer.sierrawireless.com/ALEOS_AF
13
Using ALEOS AF
Sierra Wireless Proprietary and Confidential
local airvantage = require "airvantage"
local sched = require "sched"
local function main ()
local server, status
-- Initialize the link to the ReadyAgent
airvantage.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(), "Can't register Agent")
sched.wait(10)
-- Put a state into the queue
helloasset:pushdata("uplink", {State=1}, "now")
end
sched.run(main)
sched.loop()
Page
Sierra Wireless devices
14
Develop your
solution
Sierra Wireless Proprietary and Confidential
Using ALEOS Application
Framework
Using OpenAT and the
AirVantage agent
Page
Example:
Documentation: Developer Zone > Create an AirVantage Open AT Application
http://developer.sierrawireless.com/Resources/Resources/AirVantage/Educational_Documentation/Tutorial_AirVantage_O
penAT_DevStudio_App.aspx
15
Using OpenAT and
AirVantage agent
Sierra 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 DataManager
AwtDaObject* data = AWT_String_New("Hello world!");
push_message(data, "", "message" );
// Flush manager only after adding all data and Release objects
AWT_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:
...
Page
Linux-based devices
16
Develop your
solution
Sierra Wireless Proprietary and Confidential
Using Mihini and Koneki
Page
Port 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, SMS
Then develop using Mihini and Koneki (same as ALEOS AF)
Documentation:
http://www.eclipse.org/mihini/
http://www.eclipse.org/koneki/
http://m2m.eclipse.org/
17
Mihini & Koneki ?
Sierra Wireless Proprietary and Confidential
Page
Devices supporting HTTP
• REST API for devices
• To store data
• To get tasks (Read data, Write data, Execute command)
18
Develop your
solution
Sierra Wireless Proprietary and Confidential
Page
Example:
Documentation will be published with AirVantage 13.3
19
Using HTTP API
for device
Sierra 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
Page
Use AirVantage M2M Cloud:
• To view messages and debug communication
• To view stored data
• To send commands
20
Develop your
solution
Sierra Wireless Proprietary and Confidential
PageSierra Wireless Proprietary and Confidential 21
Use AirVantage
M2M Cloud
PageSierra Wireless Proprietary and Confidential 22
Use AirVantage
M2M Cloud
Page
Use AirVantage API to create an application specific to your
business:
• Custom display for your systems
• Mobile application
• Business dashboards
• Advanced analytics from data
Everything is available through API
Documentation: AirVantage > Develop > API Documentation
https://na.m2mop.net/develop/apiDocumentation
23
Develop your
solution
Sierra Wireless Proprietary and Confidential
Page 24
AirVantage API
Sierra Wireless Proprietary and Confidential
Page 25
What you could do with AirVantage
Sierra Wireless Proprietary and Confidential
Manage your systems
Develop your solution
PageSierra Wireless Proprietary and Confidential 26
Page
Example:
• Use API to get temperature and humidity
27
AirVantage API
Sierra Wireless Proprietary and Confidential
> GET
https://na.airvantage.net/api/oauth/token?grant_type=password&username=myLogin@anymail.com&pas
sword=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=fe
47d528-7414-4962-a7e6-ee6b82491f7a&ids=house.temperature,house.humidity
<
{
"house.temperature": [ {
"value": 25.0,
"timestamp": 1331906459440
}],
"house.humidity": [ {
"value": 72.3,
"timestamp": 1331906459440
}]
}

Mais conteúdo relacionado

Semelhante a AirVantage M2M Cloud - A survival guide to newcomers

Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
Amine Sadry
 
Data Access Mobile Devices
Data Access Mobile DevicesData Access Mobile Devices
Data Access Mobile Devices
venkat987
 

Semelhante a AirVantage M2M Cloud - A survival guide to newcomers (20)

Understanding the New Enterprise Multi-Cloud Backbone for DevOps Engineers
Understanding the New Enterprise Multi-Cloud Backbone for DevOps EngineersUnderstanding the New Enterprise Multi-Cloud Backbone for DevOps Engineers
Understanding the New Enterprise Multi-Cloud Backbone for DevOps Engineers
 
ececloud Architecture for GWU\'s ECE 289 Class
ececloud Architecture for GWU\'s ECE 289 Classececloud Architecture for GWU\'s ECE 289 Class
ececloud Architecture for GWU\'s ECE 289 Class
 
ececloud Architecture for GWU's ECE 289 Class
ececloud Architecture for GWU's ECE 289 Classececloud Architecture for GWU's ECE 289 Class
ececloud Architecture for GWU's ECE 289 Class
 
Running Serverless at The Edge (CTD302) - AWS re:Invent 2018
Running Serverless at The Edge (CTD302) - AWS re:Invent 2018Running Serverless at The Edge (CTD302) - AWS re:Invent 2018
Running Serverless at The Edge (CTD302) - AWS re:Invent 2018
 
Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014
 
(BAC404) Deploying High Availability and Disaster Recovery Architectures with...
(BAC404) Deploying High Availability and Disaster Recovery Architectures with...(BAC404) Deploying High Availability and Disaster Recovery Architectures with...
(BAC404) Deploying High Availability and Disaster Recovery Architectures with...
 
Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
 
Webinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows AzureWebinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows Azure
 
Introduction to CloudStack API
Introduction to CloudStack APIIntroduction to CloudStack API
Introduction to CloudStack API
 
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
 
Designing a Data Mesh with Kafka with Paul Makkar & Rahul Gulati
Designing a Data Mesh with Kafka with Paul Makkar & Rahul GulatiDesigning a Data Mesh with Kafka with Paul Makkar & Rahul Gulati
Designing a Data Mesh with Kafka with Paul Makkar & Rahul Gulati
 
IoT Best Practices & Architecture | AWS IoT
IoT Best Practices & Architecture | AWS IoTIoT Best Practices & Architecture | AWS IoT
IoT Best Practices & Architecture | AWS IoT
 
A practitioner's tale on clouds
A practitioner's tale on cloudsA practitioner's tale on clouds
A practitioner's tale on clouds
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Openstack Icehouse IaaS Presentation
Openstack Icehouse  IaaS PresentationOpenstack Icehouse  IaaS Presentation
Openstack Icehouse IaaS Presentation
 
Data Access Mobile Devices
Data Access Mobile DevicesData Access Mobile Devices
Data Access Mobile Devices
 
Breaking SAP portal (DeepSec)
Breaking SAP portal (DeepSec)Breaking SAP portal (DeepSec)
Breaking SAP portal (DeepSec)
 
Cloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveCloud Foundry a Developer's Perspective
Cloud Foundry a Developer's Perspective
 
Simple callcenter platform with PHP
Simple callcenter platform with PHPSimple callcenter platform with PHP
Simple callcenter platform with PHP
 
Play Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and ScalaPlay Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and Scala
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

AirVantage M2M Cloud - A survival guide to newcomers

  • 1. Page AirVantage M2M Cloud A survival guide for newcomers David Sciamma – AirVantage R&D Director Sierra Wireless Developer Day – June 14th
  • 2. Page 2 What you could do with AirVantage Sierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • 3. Page 3 What you could do with AirVantage Sierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • 4. Page One click registration of ready-to-use solutions: 4 Manage your systems Sierra Wireless Proprietary and Confidential
  • 5. Page Manage 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 history Documentation: AirVantage > User Guide https://doc.airvantage.net/display/USERGUIDE/AirVantage+M2M+Cloud+User+Guide 5 Manage your systems Sierra Wireless Proprietary and Confidential
  • 6. Page 6 Manage your systems Sierra Wireless Proprietary and Confidential
  • 7. Page 7 Manage your systems Sierra Wireless Proprietary and Confidential
  • 8. Page 8 Manage your systems Sierra Wireless Proprietary and Confidential
  • 9. Page 9 What you could do with AirVantage Sierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • 10. Page Sierra Wireless devices Linux-based devices Devices supporting HTTP 10Sierra Wireless Proprietary and Confidential Develop your solution
  • 11. Page Sierra Wireless devices  pre-integrated with AirVantage Linux-based devices  Port Mihini open source agent to add device management features Devices supporting HTTP  use REST API for devices to send and receive data 11Sierra Wireless Proprietary and Confidential Develop your solution
  • 12. Page Sierra Wireless devices 12 Develop your solution Sierra Wireless Proprietary and Confidential Using ALEOS Application Framework Using OpenAT and the AirVantage agent
  • 13. Page Example: Documentation: Developer Zone > ALEOS AF http://developer.sierrawireless.com/ALEOS_AF 13 Using ALEOS AF Sierra Wireless Proprietary and Confidential local airvantage = require "airvantage" local sched = require "sched" local function main () local server, status -- Initialize the link to the ReadyAgent airvantage.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(), "Can't register Agent") sched.wait(10) -- Put a state into the queue helloasset:pushdata("uplink", {State=1}, "now") end sched.run(main) sched.loop()
  • 14. Page Sierra Wireless devices 14 Develop your solution Sierra Wireless Proprietary and Confidential Using ALEOS Application Framework Using OpenAT and the AirVantage agent
  • 15. Page Example: Documentation: Developer Zone > Create an AirVantage Open AT Application http://developer.sierrawireless.com/Resources/Resources/AirVantage/Educational_Documentation/Tutorial_AirVantage_O penAT_DevStudio_App.aspx 15 Using OpenAT and AirVantage agent Sierra 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 DataManager AwtDaObject* data = AWT_String_New("Hello world!"); push_message(data, "", "message" ); // Flush manager only after adding all data and Release objects AWT_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: ...
  • 16. Page Linux-based devices 16 Develop your solution Sierra Wireless Proprietary and Confidential Using Mihini and Koneki
  • 17. Page Port 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, SMS Then develop using Mihini and Koneki (same as ALEOS AF) Documentation: http://www.eclipse.org/mihini/ http://www.eclipse.org/koneki/ http://m2m.eclipse.org/ 17 Mihini & Koneki ? Sierra Wireless Proprietary and Confidential
  • 18. Page Devices supporting HTTP • REST API for devices • To store data • To get tasks (Read data, Write data, Execute command) 18 Develop your solution Sierra Wireless Proprietary and Confidential
  • 19. Page Example: Documentation will be published with AirVantage 13.3 19 Using HTTP API for device Sierra 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
  • 20. Page Use AirVantage M2M Cloud: • To view messages and debug communication • To view stored data • To send commands 20 Develop your solution Sierra Wireless Proprietary and Confidential
  • 21. PageSierra Wireless Proprietary and Confidential 21 Use AirVantage M2M Cloud
  • 22. PageSierra Wireless Proprietary and Confidential 22 Use AirVantage M2M Cloud
  • 23. Page Use AirVantage API to create an application specific to your business: • Custom display for your systems • Mobile application • Business dashboards • Advanced analytics from data Everything is available through API Documentation: AirVantage > Develop > API Documentation https://na.m2mop.net/develop/apiDocumentation 23 Develop your solution Sierra Wireless Proprietary and Confidential
  • 24. Page 24 AirVantage API Sierra Wireless Proprietary and Confidential
  • 25. Page 25 What you could do with AirVantage Sierra Wireless Proprietary and Confidential Manage your systems Develop your solution
  • 26. PageSierra Wireless Proprietary and Confidential 26
  • 27. Page Example: • Use API to get temperature and humidity 27 AirVantage API Sierra Wireless Proprietary and Confidential > GET https://na.airvantage.net/api/oauth/token?grant_type=password&username=myLogin@anymail.com&pas sword=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=fe 47d528-7414-4962-a7e6-ee6b82491f7a&ids=house.temperature,house.humidity < { "house.temperature": [ { "value": 25.0, "timestamp": 1331906459440 }], "house.humidity": [ { "value": 72.3, "timestamp": 1331906459440 }] }