CC3100 SDK Sample Applications

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png

Introduction

The CC3100 SimpleLink™ Wi-Fi® solution provides the flexibility to add Wi-Fi to any microcontroller (MCU). This internet on a chip solution contains all you need to easily create Internet of Things (IoT) solutions. The software development kit (SDK) is the set of documents, board's driver, tools, and sample codes needed to evaluate and start development on the CC3100 devices. This page provides insights into the content of the CC3100 SDK with a focus on the sample applications code which can be used as reference for development.

The CC3100 SDK contains

  • The SimpleLink host driver and its APIs documentation
  • A Getting Started Guide including instructions on setting up the platform and executing sample application(s)
  • The CC3100 BoosterPack board driver
  • Sample applications example code, summarized below, with their respective user's guide with detailed instructions.
    • The applications are provided for various host platforms. Refer to the CC3100 release notes for the platforms which were verified for this release.
  • Additional documentation, including the BoosterPack Hardware User's Guide


UniFlash

Main article: UniFlash Quick Start Guide
Download Page: Uniflash

UniFlash is a standalone flash tool for TI microcontrollers and Sitara processors. This is a powerful application, which is used to

  • Load sample applications binary to the host microcontroller

SDK Sample Application Notes

This section lists all the sample applications provided in the SDK, a short description, and user guides for each application.

 NoteNote:  These application examples target for the latest release. 
 For documentation on older SDK examples, please refer to corresponding files in <cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\'

CC3100 Network Reference Examples for the TI MCU Platforms

Application / Demo Description Guide/Documentation
Antenna Selection Antenna Selection is method by which user can configure the WLAN RF Antenna on the CC3100 device from command line interface. Antenna Selection
Connection Policies The application demonstrates the connection policies in CC3100. The connection policies determine how the CC3100 is connected to AP. Connection Policies Application
Email Application The email application on the CC3100 sends emails via SMTP. Email Demo Application
Enterprise Network Connection This simple example code connects to a Enterprise network using the certificate flashed to the serial flash. Enterprise Network Connection
File-operations Application This application is to showcase the file operation on serial flash(NVMEM) of the device. File-operations Application
Get Time The application connects to an SNTP server and requests for time information. Get Time Application
Getting started with WLAN AP This application is to showcase device capability to behave as an AP in a typical networking system. Getting Started with WLAN AP
Getting started with WLAN Station This application is to showcase device capability to behave as a station in a typical networking system. Getting Started with WLAN Station
Get Weather Application The application connects to ‘Open Weather Map’ and requests for weather data. Get Weather Application
HTTP Client This application demonstrates the HTTP Client library API for HTTP based application development in minimum mode. HTTP Client Application
HTTP Server The application demonstrates the Http server capability of CC3100. HTTP Server Application
IP Configuration IP configuration application connects to an AP using staitic IP address. IP Configuration Application
mDNS The application demonstrates the usage of mDNS functionality in CC3100. The application showcases both “mDNS advertise” and “mDNS listen” functionality. mDNS Application
Mode Config Mode-Config application starts the CC3100 device in either AP or station mode. Mode-Config Application
MQTT Client This application demonstrates the MQTT Client library API for MQTT based application development. MQTT Client Application
NWP Filter This application is to showcase Rx-Filter feature on CC3100 device. NWP Filter Application
NWP Power Policie This example code shows how to enable different power policies on CC3100 device. NWP Power Policies
OTA (Over the Air) Over The Air (OTA) sample application focuses on showcasing CC3100’s ability to receive firmware update and/or any related files over the internet enabled Wi-Fi interface. CC3100 OTA Application
Out Of Box This Application demonstrates Out of Box Experience with CC3100 Booster pack. CC3100 Out of Box
P2P (Wi-Fi Direct) This simple example code connects to a P2P device and starts a TCP server at port 5001. P2P Application
Power Measurement Provides users the ability to configure the device in various low power modes and profiles for power measurements. CC3100 Power Management Optimizations and Measurements
Provisioning - AP This application demonstrates the AP provisioning feature. CC3100 AP Provisioning is method by which user can configure the AP information on the CC3100 device from a Browser.
Warning Warning: This example was updated on June 21st, 2016 to support the new AP Provisioning mechanism. The old AP Provisioning example can still be found in SDK 1.1 and prior versions, and documentation for this can be found in the deprecated section of the wiki link on the right.
AP Provisioning Application
Provisioning - Smart Config Application The application demonstrates how to associate/connect CC3100/CC3200 to any access point. Provisioning-Smart Config
Provisioning - WPS This application is to demonstrates how to use WPS Wi-Fi provisioning with CC3100/CC3200. Provisioning-WPS Application
Scan Policies This application is to showcase to set scan policy and enables the scan in the device. Scan Policies Application
SPI Debug Tool This simple debugging tools simplifies the validation process of porting CC3100 host driver to any new MCU. This tool helps check for the SPI configuration with CC3100 and confirms the mapping of the SPI interface pins. SPI Debug Tool
SSL This application is to showcase SSL implementation on CC3100 device. SSL Demo Application
TCP Socket This application is to showcase device communication over network using TCP protocols. TCP Socket Application
Transceiver Mode Application The RX Statistics feature is used to inspect the medium in terms of congestion, distance, validate the RF hardware, and help, using the RSSI information, positioning the CC3100 in an ideal spot. Transceiver Mode Application
UDP Socket This application is to showcase device communication over network using TCP protocols. UDP Socket Application
XMPP Reference Application The application demonstrates the connection scenario with an XMPP server.
Warning Warning: The service used by this example, Google Chat, has been phased out. This example no longer works as-is.
XMPP Reference Application


CC3100 Network Reference Examples for SimpleLink Studio Platform

See: CC3100 SimpleLink Studio
Application / Demo Description Guide/Documentation
SLS Email Application The email application on the CC3100 sends emails via SMTP. SLS Email Demo Application
SLS Get Time Application SLS Get time application connect to a SNTP server, request for time, process the data and displays the time on console. SLS Get Time Application
SLS Getting started with WLAN AP This application is to showcase device capability to behave as an AP in a typical networking system. SLS Getting started with WLAN AP
SLS Getting started with WLAN Station This application is to showcase device capability to behave as a station in a typical networking system SLS Getting started with WLAN Station
SLS Get Weather Application SLS Get Weather application connect to "openweathermap.org" server requests for Weather details of a city, process data and displays it on console. SLS Get Weather Application
SLS Sniffer with Filters Application This application provides a functional example that highlights the ability of CC3100 to use a raw socket to read any packets, as well as how to filter the packets at the MAC level. SLS Sniffer with Filters Application
SLS Transceiver Mode Application This application provides a functional example that sends and receive data over a raw socket SLS Transceiver Mode Application
SLS XMPP Reference Application The application demonstrates the connection scenario with an XMPP server. SLS XMPP Reference Application

SDK Add-On Notes

These Add-on packages are released on top of cc3100 sdk and should be downloaded separately. Add-on packages contain documents, sample codes and respective libraries. This section lists all the add-ons, a short description, and download link for each add on.

 NoteNote:   For links and detailed documentation please refer to readme.txt at <cc3100-sdk-installation-location>\cc3100-sdk\examples\<Add-on example>\

CC3100 Add-on examples for the TI MCU Platforms

Application / Demo Description Guide/Documentation Download Link
Host Programming Host Programming showcasing CC3100’s ability to program the service pack from host MCU and optionally format the serial flash. CC3100 Host Programming Application Host Programming Download

Archives

CC31xx SDK Sample Applications v0.5.2

Links