Staging:CC3120 Enterprise Connection

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 enviroment 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 CC3120BOOST
 * 1x CC31XXEMUBOOST
 * 1x MSP432-EXP432P401R
 * 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.

Key Simplink API used

 * sl_DeviceSet - Setting the device data and time. This is requied 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 certifcate file flashed into the serial flash that can cerify the server certificate.

Please refer to CC3120 & CC3220 Image Creator 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 examples/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 CC3120 Getting Started guide.

You should see something like the following:



Limitations/Known Issues
None