Upload
duongduong
View
217
Download
3
Embed Size (px)
Citation preview
CC3200 OTA Update
Andrew Shvayka
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Agenda
➢ OTA update use cases review➢ Why Kaa?
➢ Identity management➢ Device management
➢ Reference architecture overview➢ Hands-on
➢ Application setup➢ Application code walkthrough➢ Live demo
➢ Q&A
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
OTA update use cases
➢ Gradual roll-out and roll-back➢ Targeted canary deployments➢ A/B testing
10M devices T1 5M devices T2
Region BRegion A
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Gradual roll-out
CC3200Firmware v1.
2
CC3200Firmware v1.
1
CC3200Firmware
v1.2
CC3200Firmware
v1.1
CC3200Firmware
v2.0
CC3200Firmware v1.
1
CC3200Firmware v1.
2
CC3200Firmware v2.
0
➢ Control over update process➢ Independent firmware updates➢ Multiple device models➢ Roll-back feature
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Targeted canary deployments
➢ Filter outliers➢ Update and monitor outliers➢ Performance and usability assessments
CC3200Firmware v1.
1
Sensor Type A
Model A1
SensorType B
Model B1
CC3200Firmware v1.
1
Sensor Type A
Model A2
SensorType B
Model B1
CC3200Firmware v1.
2
Sensor Type A
Model A2
SensorType B
Model B1
All other firmware versions and sensorsFirmware v1.1 with Sensor A2
CC3200Firmware v1.
1.fix
CC3200Firmware
v1.1
CC3200Firmware
v1.2
CC3200Firmware
v2.0
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
A/B testing
➢ Comparison of firmware versions➢ Segmentation and targeting➢ Monitoring and analytics
Analytics system
Data Data
All other devicesGroup A
CC3200 SN1Firmware v1.
3.a
CC3200Firmware
v1.2
CC3200 MODFirmware
v2.0
Group B
CC3200 SN2Firmware v1.
3.b
All other devices
CC3200Firmware
v1.2
CC3200 MODFirmware
v2.0
➢ Feature-rich IoT middleware platform➢ 10 Kb RAM footprint (with C SDK)➢ Built-in transport security➢ Efficient data serialization➢ Horizontally scalable and fault tolerant➢ 100% open-source (Apache License 2.0)➢ Rapid application development using C / C++ / Java SDKs➢ Integration with popular hardware platforms
Why Kaa?
kaaproject.org© 2015 CyberVision, Inc. All rights reserved. All registered trademarks, service marks and logos are the property of their respective owners.
Identity management (profiling)
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Administration UI
Profile
Profile filters
Group A Group B
REST API
Profile
Device management (notifications and data distribution)
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Administration UI REST API
Group B Group C
Notification Configuration
ConfigurationNotification
Kaa cluster
Reference architecture
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
CC3200
Kaa SDK Client application
Kaa cluster/sandbox
Kaa node Kaa node
ProfileA
ConfigurationA
Firmware A
HTTP File Server
CC3200
Kaa SDK Client application
ProfileB
ConfigurationB
Firmware B
Development environment setup
Sample project repository: https://github.com/kaaproject/sample-apps/tree/master/ota
Kaa Sandbox: http://www.kaaproject.org/download-kaa
CC3200: http://docs.kaaproject.org/display/KAA/Texas+Instruments+CC3200
kaaproject.org© 2015 CyberVision, Inc. All rights reserved.
Denis [email protected]
kaaproject.orgcybervisiontech.com
THANK YOU FOR YOUR ATTENTION!ANY QUESTIONS?
@KaaIoT