cc3200 ota update - kaa open-source ... service marks and logos are the property of their respective...

14
CC3200 OTA Update Andrew Shvayka [email protected] kaaproject.org © 2015 CyberVision, Inc. All rights reserved.

Upload: duongduong

Post on 18-Apr-2018

217 views

Category:

Documents


3 download

TRANSCRIPT

CC3200 OTA Update

Andrew Shvayka

[email protected]

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

About Kaa

kaaproject.org© 2015 CyberVision, Inc. All rights reserved.

➢ 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

kaaproject.org© 2015 CyberVision, Inc. All rights reserved.

Analytics System

Data

Data

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