SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Connecting low-power devices to the cloud
with Amazon FreeRTOS BLE
Tanmoy Sen
Senior Product Manager
AWS IoT
S V C 2 0 6
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Agenda
Amazon FreeRTOS overview
Amazon FreeRTOS features
• Bluetooth Low Energy (BLE)
• Over-the-air updates
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Data sources
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS IoT architecture
Endpoints
Things
Sense & act
Cloud
Storage & compute
Intelligence
Insights & logic → action
Gateway
Gateway
Fleet
onboarding,
management,
and SW updates
Fleet
audit and
protection
Connecting
devices to
services
IoT data analytics,
actions, and
intelligence
Secure device
connectivity
and messaging
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Code space
Functionality
Communications stack
Security stack
Key management
OTA
Bootloader
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
User (application) code
Vendor-supplied libraries
Hardware
FreeRTOS
kernel
MQTT agent OTA agentAWS Greengrass Discovery
Amazon FreeRTOS libraries
Amazon FreeRTOS value proposition
Improved developer experience, better outcomes:
Enables continued use of the open source FreeRTOS kernel
Augment with functionality to take care of undifferentiating work
Simplify application design
Smaller development teams
Faster time to market
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon FreeRTOS value proposition
Improved outcomes:
Device to cloud integration with incremental capabilities
Global software company with mature processes
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
MQTT I/O port Key
manage-
ment
MQTT
User (application) code
Amazon FreeRTOS libraries
Secure
storage
Vendor-supplied libraries
Hardware
Wi-Fi TLS library
TCP/IPFreeRTOS
kernel
Amazon FreeRTOS value proposition
De-risk:
Rapid device evaluation
Open standards – minimize platform lock-in
Abstracted interfaces – minimize device lock-in
Wide tool support – minimize development ecosystem lock-in
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon FreeRTOS partners
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Qualifying an Amazon FreeRTOS port
• AWS IoT Device Tester
• Production board bring up
• Development board qualification
• Test automation
• Sets up cloud resources, automates compiling and flashing
• Supports concurrent test execution
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon FreeRTOS features
1. Bluetooth Low Energy (BLE) support in Amazon FreeRTOS
2. Amazon FreeRTOS over-the-air (OTA) updates
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Bluetooth Low Energy
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
BLE support in Amazon FreeRTOS
• GAP and GATT profiles in BLE
• Standardized BLE API
• Companion iOS and Android SDKs
• Custom profile for MQTT over BLE
• Custom profile for Wi-Fi provisioning over BLE
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon FreeRTOS: Standardized BLE API
• User application portable across BLE-
qualified hardware platforms
• Supports standard GAP advertising and
GATT profiles
• Create custom profiles for your own
services
• Supports BLE Secure Connections (BLE 4.2
and up)
Hardware
Vendor-supplied libraries
Amazon FreeRTOS internal libraries
MQTT
agent
FreeRT
OS
kernel
Shadow
library
Greengrass
Discovery
Wi-Fi
mgmt
library
Stdzd
BLE API
OTA
agent
User (Application) code
Device
Defender
library
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Custom profile: MQTT over BLE
• Connect BLE devices to AWS IoT via mobile
devices as proxy
• New MQTT library (Beta) supports both BLE
and TCP transport
• iOS and Android SDKs provide the proxy
libraries
• Demo applications to get started
• Amazon Cognito handles authentication
between proxy and AWS IoT
Amazon
Cognito
AWS IoT
Core
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
• MQTT library is transport
independent
• Network interface can be
implemented against any
transport
• Amazon FreeRTOS implements
the network for IP and BLE
connectivity
New MQTT library
Application code
MQTT library
Network interface
Secure socket
TCP TLS
BLE management
BLE stack
IP connectivity BLE connectivity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why MQTT over BLE?
MQTT over BLE gives you access to
• AWS IoT Device Shadows over BLE
• AWS IoT Device Defender over BLE
• Amazon FreeRTOS OTA over BLE
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Custom profile: Wi-Fi provisioning over BLE
• Provision Wi-Fi credentials over BLE using
mobile device
• Save multiple networks, reprioritize, add,
delete
• Supports BLE Secure Connections (BLE 4.2
and up)
• Demo examples to get started
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
BLE demo
Two common use cases for
customers using BLE devices:
1. Connect BLE devices to AWS IoT using
mobile device as proxy
2. Provision Wi-Fi credentials using BLE
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Three steps to getting started
Choose supported hardware from AWS Partner Device Catalog
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Three steps to getting started
ESP32-DevKitC, ESP-WROVER-KIT nRF52840-DK B-L475E-IOT01A1 + SPBTLE-1S
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Three steps to getting started
• Amazon FreeRTOS GitHub repository
• Android and iOS SDK GitHub
Download source code
Refer to user guide
• Hardware-specific Getting Started
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Over-the-air (OTA) updates
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA updates
• Assign firmware update to groups using AWS
IoT Device Management
• Code sign new firmware images
• Validate signature on device
• Stream updates to your device over MQTT
• APIs to control installation and reboot logic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Use case: Vestel
• Smart auto-dose washing
machine
• Connectivity to AWS IoT over
Wi-Fi for command/control
• Download security updates and
new programs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
• Scalable, secure
• Small footprint
• OTA – security
• Remote management
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Problem
Dairy farming has a shortage of quality labor, and finding
good people to help on the farm is challenging. Coupled with
a lack of precise tools to manage their operations, farmers
are not generating as much milk (revenue) as they could.
Solution
Halter gives farmers the ability to shift and manage their
herd remotely from a smart device. Each cow is fitted with a
smart collar, which is coupled with a mobile app. This allows
the farmer to create virtual paddocks, physically shift cows,
and monitor the well-being of each cow from wherever they
are. Halter is able to easily push new functionality to
customers by updating the app and pushing a firmware
update using OTA to the smart collar.
Impact
Halter gives farmers control of their assets, their farms, and
their lives. The system reduces labor requirements,
increases milk production, makes compliance easy, and
enhances animal and farmer welfare.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Key benefits and impacts
Impact metrics Use case
Amazon
FreeRTOS OTA
service + agent
Saved months of development effort on
both firmware and backend, which could
be invested in features instead
Easy OTA updates to collars allow rapid
prototyping of new features and simple
release to customers
Tickless idle
mode
Reduced power consumption of our
microcontroller from ~15 mA to ~1 mA
24/7 solar-powered device with a very
tight power budget
IoT MQTT
Reusable communications channel
reduces implementation effort for new
backend integrations from days to hours
Real-time log shipping, diagnostic
commands, and simple scripting
interface
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA on Amazon FreeRTOS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: Operator actions
Developer
authors update
Upload to cloud Schedule an update job
Notify device update is
available
AWS Key
Management Service
(AWS KMS)
AWS Identity and
Access Management
(IAM)
AWS
Certificate
Manager
(ACM)
Security, identity, and compliance
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: Operator actions
Developer
authors update
Upload to cloud Schedule an update job
Notify device update is
available
AWS
Certificate
Manager
(ACM)
Amazon Simple Storage
Service
(Amazon S3)
Security, identity, and compliance Storage
AWS Key
Management Service
(AWS KMS)
AWS Identity and
Access Management
(IAM)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: Operator actions
Developer
authors update
Upload to cloud
Schedule an
update job
Notify device
update is
available
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: OTA agent actions
Developer
authors update
Upload to cloud
Schedule an
update job
Notify device
update is
available
Device
downloads
image (over
MQTT)
Write image to
flash
Close file and verify
signature
Notify application
that new image is
ready
Application
activates when it is
ready (set boot flags
and reset)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: OTA agent actions
Developer
authors update
Upload to cloud
Schedule an
update job
Notify device
update is
available
Device
downloads
image (over
MQTT)
Write image to
flash
Close file and
verify signature
Notify
application that
new image is
ready
Application
activates when it is
ready (set boot flags
and reset)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: Bootloader actions
Developer
authors update
Upload to
cloud and sign
image
Schedule an
update job
Notify device
update is
available
Device
downloads
image (over
MQTT)
Write image to
flash
Close file and
verify signature
Notify
application that
new image is
ready
Application
activates when
it is ready
Verify image at
boot
Initialize OTA
agent and confirm
current image is
latest
Hand control to
application for
self test
On passing self
test, commit
new image
Update cloud
status to
completed.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
OTA: Bootloader actions
Developer
authors update
Upload to
cloud and sign
image
Schedule an
update job
Notify device
update is
available
Device
downloads
image (over
MQTT)
Write image to
flash
Close file and
verify signature
Notify
application that
new image is
ready
Application
activates when
it is ready
Verify image at
boot
Initialize OTA
agent and confirm
current image is
latest
Hand control to
application for
self test
On passing self
test, commit
new image
Update cloud
status to
completed
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Three steps to getting started
• AWS Partner Device Catalog
• Windows Simulator
Choose supported hardware
• Amazon FreeRTOS console
• Amazon FreeRTOS GitHub repository
Download source code
Refer to User Guide
• Hardware-specific Getting Started
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Online resources
Amazon FreeRTOS repo
https://github.com/aws/amazon-freertos
Amazon FreeRTOS online documentation
Reference https://docs.aws.amazon.com/freertos/index.html
User Guide https://docs.aws.amazon.com/freertos/latest/userguide/what-is-amazon-freertos.html
Getting started https://docs.aws.amazon.com/freertos/latest/userguide/freertos-getting-started.html
Android and iOS SDKs:
https://github.com/aws/amazon-freertos-ble-ios-sdk/
https://github.com/aws/amazon-freertos-ble-android-sdk/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tanmoy Sen
stanmoy@amazon.com

Más contenido relacionado

La actualidad más candente

Byod and guest access workshop enabling byod carlos gomez gallego_network ser...
Byod and guest access workshop enabling byod carlos gomez gallego_network ser...Byod and guest access workshop enabling byod carlos gomez gallego_network ser...
Byod and guest access workshop enabling byod carlos gomez gallego_network ser...Aruba, a Hewlett Packard Enterprise company
 
Firepower ngfw internet
Firepower ngfw internetFirepower ngfw internet
Firepower ngfw internetRony Melo
 
Indoor80211n Aruba Wifi
Indoor80211n Aruba Wifi Indoor80211n Aruba Wifi
Indoor80211n Aruba Wifi CHai Yo Song
 
Implementing Cisco AAA
Implementing Cisco AAAImplementing Cisco AAA
Implementing Cisco AAAdkaya
 
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewallsCastleforce
 
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment mode
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment modeCloud security, Cloud security Access broker, CSAB's 4 pillar, deployment mode
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment modeHimani Singh
 

La actualidad más candente (20)

PIW ISE best practices
PIW ISE best practicesPIW ISE best practices
PIW ISE best practices
 
Byod and guest access workshop enabling byod carlos gomez gallego_network ser...
Byod and guest access workshop enabling byod carlos gomez gallego_network ser...Byod and guest access workshop enabling byod carlos gomez gallego_network ser...
Byod and guest access workshop enabling byod carlos gomez gallego_network ser...
 
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
EMEA Airheads- Aruba Instant AP-  VPN TroubleshootingEMEA Airheads- Aruba Instant AP-  VPN Troubleshooting
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
 
Access Management with Aruba ClearPass
Access Management with Aruba ClearPassAccess Management with Aruba ClearPass
Access Management with Aruba ClearPass
 
Aruba Campus Wireless Networks
Aruba Campus Wireless NetworksAruba Campus Wireless Networks
Aruba Campus Wireless Networks
 
VoIP sobre IPv6
VoIP sobre IPv6VoIP sobre IPv6
VoIP sobre IPv6
 
Firepower ngfw internet
Firepower ngfw internetFirepower ngfw internet
Firepower ngfw internet
 
Campus Network Design version 8
Campus Network Design version 8Campus Network Design version 8
Campus Network Design version 8
 
Indoor80211n Aruba Wifi
Indoor80211n Aruba Wifi Indoor80211n Aruba Wifi
Indoor80211n Aruba Wifi
 
Implementing Cisco AAA
Implementing Cisco AAAImplementing Cisco AAA
Implementing Cisco AAA
 
Getting the most out of the aruba policy enforcement firewall
Getting the most out of the aruba policy enforcement firewallGetting the most out of the aruba policy enforcement firewall
Getting the most out of the aruba policy enforcement firewall
 
Aruba ClearPass Guest 6.3 User Guide
Aruba ClearPass Guest 6.3 User GuideAruba ClearPass Guest 6.3 User Guide
Aruba ClearPass Guest 6.3 User Guide
 
EMEA Airheads How licensing works in Aruba OS 8.x
EMEA Airheads  How licensing works in Aruba OS 8.xEMEA Airheads  How licensing works in Aruba OS 8.x
EMEA Airheads How licensing works in Aruba OS 8.x
 
EMEA Airheads – Aruba controller features used to optimize performance
EMEA Airheads – Aruba controller features used to optimize performanceEMEA Airheads – Aruba controller features used to optimize performance
EMEA Airheads – Aruba controller features used to optimize performance
 
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewalls
 
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment mode
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment modeCloud security, Cloud security Access broker, CSAB's 4 pillar, deployment mode
Cloud security, Cloud security Access broker, CSAB's 4 pillar, deployment mode
 
Advanced rf troubleshooting_peter lane
Advanced rf troubleshooting_peter laneAdvanced rf troubleshooting_peter lane
Advanced rf troubleshooting_peter lane
 
ISE-CiscoLive.pdf
ISE-CiscoLive.pdfISE-CiscoLive.pdf
ISE-CiscoLive.pdf
 
EMEA Airheads- Instant AP- APP REF and Mixed IAP Cluster deployments
EMEA Airheads- Instant AP- APP REF and Mixed IAP Cluster deploymentsEMEA Airheads- Instant AP- APP REF and Mixed IAP Cluster deployments
EMEA Airheads- Instant AP- APP REF and Mixed IAP Cluster deployments
 
Vpc notes
Vpc notesVpc notes
Vpc notes
 

Similar a Connecting low-power devices to the cloud with Amazon FreeRTOS BLE - SVC206 - Chicago AWS Summit

Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitAmazon Web Services
 
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019 Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019 Amazon Web Services
 
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...Amazon Web Services
 
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...Amazon Web Services
 
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...Amazon Web Services
 
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTP
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTPConnecting microcontrollers to the cloud using MQTT, BLE, and HTTP
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTPAll Things Open
 
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...Amazon Web Services
 
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...Amazon Web Services
 
Connected Product Development - Secure Cloud & Local Connectivity for Microco...
Connected Product Development - Secure Cloud & Local Connectivity for Microco...Connected Product Development - Secure Cloud & Local Connectivity for Microco...
Connected Product Development - Secure Cloud & Local Connectivity for Microco...Amazon Web Services
 
AWS IoT and Alexa in the connected home
AWS IoT and Alexa in the connected homeAWS IoT and Alexa in the connected home
AWS IoT and Alexa in the connected homeDuncan Purves
 
IoT and Alexa in the connected home
IoT and Alexa in the connected homeIoT and Alexa in the connected home
IoT and Alexa in the connected homeAmazon Web Services
 
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018Amazon Web Services
 
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...Amazon Web Services
 
AWS 物聯網 與 Alexa 自動化家庭語音助理
AWS 物聯網 與 Alexa 自動化家庭語音助理AWS 物聯網 與 Alexa 自動化家庭語音助理
AWS 物聯網 與 Alexa 自動化家庭語音助理Amazon Web Services
 
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...Amazon Web Services
 
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPC
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPCAWS Initiate Day Dublin 2019 – Security and Compliance in your VPC
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPCAmazon Web Services
 
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPC
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPCAWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPC
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPCAmazon Web Services
 
From Cloud to Edge & back again
From Cloud to Edge & back againFrom Cloud to Edge & back again
From Cloud to Edge & back againBoaz Ziniman
 

Similar a Connecting low-power devices to the cloud with Amazon FreeRTOS BLE - SVC206 - Chicago AWS Summit (20)

Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
 
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019 Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019
Securing the edge with AWS IoT services - FND330 - AWS re:Inforce 2019
 
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
 
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...
Building IoT Applications for a Smart Home, ft. Vestel (IOT306-R1) - AWS re:I...
 
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...
Building home security solutions at scale, ft. Comcast - SVC206 - New York AW...
 
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTP
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTPConnecting microcontrollers to the cloud using MQTT, BLE, and HTTP
Connecting microcontrollers to the cloud using MQTT, BLE, and HTTP
 
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...
Deploying AWS IoT-managed devices in an industrial setting - SVC302 - Atlanta...
 
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...
Connecting buildings to new opportunities with AWS IoT - SVC204 - New York AW...
 
Connected Product Development - Secure Cloud & Local Connectivity for Microco...
Connected Product Development - Secure Cloud & Local Connectivity for Microco...Connected Product Development - Secure Cloud & Local Connectivity for Microco...
Connected Product Development - Secure Cloud & Local Connectivity for Microco...
 
AWS IoT and Alexa in the connected home
AWS IoT and Alexa in the connected homeAWS IoT and Alexa in the connected home
AWS IoT and Alexa in the connected home
 
IoT and Alexa in the connected home
IoT and Alexa in the connected homeIoT and Alexa in the connected home
IoT and Alexa in the connected home
 
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018
Leadership Session: AWS IoT (IOT218-L) - AWS re:Invent 2018
 
IoT Made Easy | AWS IoT
IoT Made Easy | AWS IoTIoT Made Easy | AWS IoT
IoT Made Easy | AWS IoT
 
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...
Detecting and responding to critical events with AWS IoT Events - SVC205 - Ch...
 
AWS 物聯網 與 Alexa 自動化家庭語音助理
AWS 物聯網 與 Alexa 自動化家庭語音助理AWS 物聯網 與 Alexa 自動化家庭語音助理
AWS 物聯網 與 Alexa 自動化家庭語音助理
 
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
 
Getting Started with IoT on AWS
Getting Started with IoT on AWSGetting Started with IoT on AWS
Getting Started with IoT on AWS
 
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPC
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPCAWS Initiate Day Dublin 2019 – Security and Compliance in your VPC
AWS Initiate Day Dublin 2019 – Security and Compliance in your VPC
 
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPC
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPCAWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPC
AWS Initiate Day Manchester 2019 – AWS Security Compliance in your VPC
 
From Cloud to Edge & back again
From Cloud to Edge & back againFrom Cloud to Edge & back again
From Cloud to Edge & back again
 

Más de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Connecting low-power devices to the cloud with Amazon FreeRTOS BLE - SVC206 - Chicago AWS Summit

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Connecting low-power devices to the cloud with Amazon FreeRTOS BLE Tanmoy Sen Senior Product Manager AWS IoT S V C 2 0 6
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Agenda Amazon FreeRTOS overview Amazon FreeRTOS features • Bluetooth Low Energy (BLE) • Over-the-air updates
  • 3. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Data sources
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS IoT architecture Endpoints Things Sense & act Cloud Storage & compute Intelligence Insights & logic → action Gateway Gateway Fleet onboarding, management, and SW updates Fleet audit and protection Connecting devices to services IoT data analytics, actions, and intelligence Secure device connectivity and messaging
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Code space Functionality Communications stack Security stack Key management OTA Bootloader
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T User (application) code Vendor-supplied libraries Hardware FreeRTOS kernel MQTT agent OTA agentAWS Greengrass Discovery Amazon FreeRTOS libraries Amazon FreeRTOS value proposition Improved developer experience, better outcomes: Enables continued use of the open source FreeRTOS kernel Augment with functionality to take care of undifferentiating work Simplify application design Smaller development teams Faster time to market
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon FreeRTOS value proposition Improved outcomes: Device to cloud integration with incremental capabilities Global software company with mature processes
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T MQTT I/O port Key manage- ment MQTT User (application) code Amazon FreeRTOS libraries Secure storage Vendor-supplied libraries Hardware Wi-Fi TLS library TCP/IPFreeRTOS kernel Amazon FreeRTOS value proposition De-risk: Rapid device evaluation Open standards – minimize platform lock-in Abstracted interfaces – minimize device lock-in Wide tool support – minimize development ecosystem lock-in
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon FreeRTOS partners
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Qualifying an Amazon FreeRTOS port • AWS IoT Device Tester • Production board bring up • Development board qualification • Test automation • Sets up cloud resources, automates compiling and flashing • Supports concurrent test execution
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon FreeRTOS features 1. Bluetooth Low Energy (BLE) support in Amazon FreeRTOS 2. Amazon FreeRTOS over-the-air (OTA) updates
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Bluetooth Low Energy
  • 14. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T BLE support in Amazon FreeRTOS • GAP and GATT profiles in BLE • Standardized BLE API • Companion iOS and Android SDKs • Custom profile for MQTT over BLE • Custom profile for Wi-Fi provisioning over BLE
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon FreeRTOS: Standardized BLE API • User application portable across BLE- qualified hardware platforms • Supports standard GAP advertising and GATT profiles • Create custom profiles for your own services • Supports BLE Secure Connections (BLE 4.2 and up) Hardware Vendor-supplied libraries Amazon FreeRTOS internal libraries MQTT agent FreeRT OS kernel Shadow library Greengrass Discovery Wi-Fi mgmt library Stdzd BLE API OTA agent User (Application) code Device Defender library
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Custom profile: MQTT over BLE • Connect BLE devices to AWS IoT via mobile devices as proxy • New MQTT library (Beta) supports both BLE and TCP transport • iOS and Android SDKs provide the proxy libraries • Demo applications to get started • Amazon Cognito handles authentication between proxy and AWS IoT Amazon Cognito AWS IoT Core
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T • MQTT library is transport independent • Network interface can be implemented against any transport • Amazon FreeRTOS implements the network for IP and BLE connectivity New MQTT library Application code MQTT library Network interface Secure socket TCP TLS BLE management BLE stack IP connectivity BLE connectivity
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why MQTT over BLE? MQTT over BLE gives you access to • AWS IoT Device Shadows over BLE • AWS IoT Device Defender over BLE • Amazon FreeRTOS OTA over BLE
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Custom profile: Wi-Fi provisioning over BLE • Provision Wi-Fi credentials over BLE using mobile device • Save multiple networks, reprioritize, add, delete • Supports BLE Secure Connections (BLE 4.2 and up) • Demo examples to get started
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T BLE demo Two common use cases for customers using BLE devices: 1. Connect BLE devices to AWS IoT using mobile device as proxy 2. Provision Wi-Fi credentials using BLE
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Three steps to getting started Choose supported hardware from AWS Partner Device Catalog
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Three steps to getting started ESP32-DevKitC, ESP-WROVER-KIT nRF52840-DK B-L475E-IOT01A1 + SPBTLE-1S
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Three steps to getting started • Amazon FreeRTOS GitHub repository • Android and iOS SDK GitHub Download source code Refer to user guide • Hardware-specific Getting Started
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Over-the-air (OTA) updates
  • 26. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA updates • Assign firmware update to groups using AWS IoT Device Management • Code sign new firmware images • Validate signature on device • Stream updates to your device over MQTT • APIs to control installation and reboot logic
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Use case: Vestel • Smart auto-dose washing machine • Connectivity to AWS IoT over Wi-Fi for command/control • Download security updates and new programs
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T • Scalable, secure • Small footprint • OTA – security • Remote management
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Problem Dairy farming has a shortage of quality labor, and finding good people to help on the farm is challenging. Coupled with a lack of precise tools to manage their operations, farmers are not generating as much milk (revenue) as they could. Solution Halter gives farmers the ability to shift and manage their herd remotely from a smart device. Each cow is fitted with a smart collar, which is coupled with a mobile app. This allows the farmer to create virtual paddocks, physically shift cows, and monitor the well-being of each cow from wherever they are. Halter is able to easily push new functionality to customers by updating the app and pushing a firmware update using OTA to the smart collar. Impact Halter gives farmers control of their assets, their farms, and their lives. The system reduces labor requirements, increases milk production, makes compliance easy, and enhances animal and farmer welfare.
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Key benefits and impacts Impact metrics Use case Amazon FreeRTOS OTA service + agent Saved months of development effort on both firmware and backend, which could be invested in features instead Easy OTA updates to collars allow rapid prototyping of new features and simple release to customers Tickless idle mode Reduced power consumption of our microcontroller from ~15 mA to ~1 mA 24/7 solar-powered device with a very tight power budget IoT MQTT Reusable communications channel reduces implementation effort for new backend integrations from days to hours Real-time log shipping, diagnostic commands, and simple scripting interface
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA on Amazon FreeRTOS
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: Operator actions Developer authors update Upload to cloud Schedule an update job Notify device update is available AWS Key Management Service (AWS KMS) AWS Identity and Access Management (IAM) AWS Certificate Manager (ACM) Security, identity, and compliance
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: Operator actions Developer authors update Upload to cloud Schedule an update job Notify device update is available AWS Certificate Manager (ACM) Amazon Simple Storage Service (Amazon S3) Security, identity, and compliance Storage AWS Key Management Service (AWS KMS) AWS Identity and Access Management (IAM)
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: Operator actions Developer authors update Upload to cloud Schedule an update job Notify device update is available
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: OTA agent actions Developer authors update Upload to cloud Schedule an update job Notify device update is available Device downloads image (over MQTT) Write image to flash Close file and verify signature Notify application that new image is ready Application activates when it is ready (set boot flags and reset)
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: OTA agent actions Developer authors update Upload to cloud Schedule an update job Notify device update is available Device downloads image (over MQTT) Write image to flash Close file and verify signature Notify application that new image is ready Application activates when it is ready (set boot flags and reset)
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: Bootloader actions Developer authors update Upload to cloud and sign image Schedule an update job Notify device update is available Device downloads image (over MQTT) Write image to flash Close file and verify signature Notify application that new image is ready Application activates when it is ready Verify image at boot Initialize OTA agent and confirm current image is latest Hand control to application for self test On passing self test, commit new image Update cloud status to completed.
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T OTA: Bootloader actions Developer authors update Upload to cloud and sign image Schedule an update job Notify device update is available Device downloads image (over MQTT) Write image to flash Close file and verify signature Notify application that new image is ready Application activates when it is ready Verify image at boot Initialize OTA agent and confirm current image is latest Hand control to application for self test On passing self test, commit new image Update cloud status to completed
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Three steps to getting started • AWS Partner Device Catalog • Windows Simulator Choose supported hardware • Amazon FreeRTOS console • Amazon FreeRTOS GitHub repository Download source code Refer to User Guide • Hardware-specific Getting Started
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Online resources Amazon FreeRTOS repo https://github.com/aws/amazon-freertos Amazon FreeRTOS online documentation Reference https://docs.aws.amazon.com/freertos/index.html User Guide https://docs.aws.amazon.com/freertos/latest/userguide/what-is-amazon-freertos.html Getting started https://docs.aws.amazon.com/freertos/latest/userguide/freertos-getting-started.html Android and iOS SDKs: https://github.com/aws/amazon-freertos-ble-ios-sdk/ https://github.com/aws/amazon-freertos-ble-android-sdk/
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tanmoy Sen stanmoy@amazon.com