Staging:CC3220 ENT WLAN (Texas Instruments NDA restrictions applicable)

Overview
This application demonstrates how to connect to a Enterprise network using the certificate flashed to the serial flash.

Application Details
Different from WEP or WPA-Personal(WPA-PSK), WPA-Enterprise is designed with advanced security that requires a RADIUS authentication server.

It is usually used in a corporate environment where every employee has a different credential to access the corporate network.

Simplelink Wi-Fi devices supports various Extensible Authentication Protocol (EAP) for authentication. A complete list of supported EAP methods can be found in the latest NWP Programmer's guide and release notes.

During authentication, the Simplelink device will verify the Server certificate by checking with it's locally stored certificate authority. Therefore be sure you have the proper certificate ready to be flashed. The certificate can be self-signed.

Prerequisite

 * 1x CC3220LP
 * 1x Micro-USB cable
 * 1x 2.4GHz AP, connecting to a RADIUS server. Note the RADIUS server needs to support the EAP methods that the Simplelink device supports.
 * 1x DER-encoded binary X.509 certificate file (.der extension, see Wikipedia details)

Source Files Details

 * main.c - Application code. Initializes the device in default configuration and performs all application tasks.
 * cc_launchpad.c - Contains mandatory board specific initialization. Also initializes the peripherals exercised.
 * pinmux.c - Pinmux configurations as required by the application.
 * startup_*.c - IDE specific startup functions (not required when working with TI-RTOS).
 * timer_if.c - Functions for controlling timer.
 * uart_if.c - Functions to display information on UART.

Key Simplink API used

 * sl_DeviceSet - Setting the device data and time. This is required in order to verify the server certification date validity.
 * sl_WlanConnect - Connecting to the WPA-ENT network.

Step 1: Using a correct certificate file
In the ImageCreator tool, flash the certificate under the following location: /sys/cert/ca.der

In order to verify the server certification, the Simplelink device must have a certificate file flashed into the serial flash that can certify the server certificate.

Please refer to Image Creator User Guide for Image Creator instructions.

Step 2: Changing the credentials and security type
Enter the WPA-Enterprise security information for the device to connect. In example/common/common.h, please change the following fields to match your network configuration.

Step 3: Changing the system date
At the top of the main.c file, enter your current date and time information in order to verify the certificate date.

Step 4: Example use cases and outputs
Once confirming all the above information to be correct, compile the application and run. For instructions on how to compile a project and to bring up a terminal, please refer to Getting Started Guide and Terminal setup.

You should see something like the following:



Limitations/Known Issues
None