AWS IoT Development

From Texas Instruments Wiki
Jump to: navigation, search

Introduction

TI devices support several Internet of Things (IoT) stacks, one of which is Amazon Web Services (AWS) IoT. This article describes some development resources for that platform, as well as details about the code repositories.

SimpleLink Plugin

The recommended starting point for CC3220-based development is the SimpleLink CC3220 SDK AWS IoT Plugin (click the Download All arrow on the right side of the page). You can also browse the Quick Start Guide for more details.

The AWS IoT Plugin builds upon the SimpleLink CC32XX SDK, and includes a copy of the sources from a specific branch in TI's AWS IoT git repo (described below). Pairing the SimpleLink CC32XX SDK with the AWS IoT Plugin and your IDE of choice (CCS, IAR and GCC are supported), you have everything you need to get started.

You can even review documentation and begin evaluating using the Plugin via TI's Resource Explorer in the cloud.

Git Repos

Branches

Amazon's repo currently has one branch (master), which has several release tags on it. The format of Amazon's release tags are a 'v' followed by a major.minor.patch build number (e.g. v1.1.1).

TI will create a branch for Amazon's significant release tags and add support for TI devices. The name of the branch will be "<tag>-ti" (e.g. v1.1.1-ti).

In addition, the master branch in TI's repo is the recommended branch if you're just starting development.

Device Support

As of April 2017, we have switched support on master (and going forward) from the CC3200 to the CC3220 families of devices.

  • CC3220 is supported on the v2.1.1-ti branch
  • CC3200 is supported on the v1.0.0-ti, v1.1.1-ti, and v2.1.0-ti branches

Support

Users with TI-specific support questions should post them to the TI-RTOS forums

Users with general questions about AWS IoT should post them to the AWS IoT forums

History

As an early partner with Amazon, TI had pre-release access to the code base before it was officially released on GitHub. TI made a copy of that early code, added early device support - initially just for the CC3200 device - and published an initial launch-time pre-release at this repo - http://git.ti.com/iotdev/awsiot. Many early users cloned that repo, which was eventually obsoleted.

Shortly after the AWS IoT launch, AWS made official releases available via their GitHub portal (link above). Based on those newer code releases, TI rebased their port onto the official AWS releases, and began making them available at https://git.ti.com/iotdev/aws-iot-device-sdk-embedded-c

In April, 2017, TI added support the CC3220 device, based on the v2.1.1 AWS IoT release. TI also introduced the initial SimpleLink CC3220 SDK AWS IoT Plugin.