NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

CC3100 Mode Config Application

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

Overview and application details[edit]

This sample application demonstrates how to configure CC3100 device in STATION or Access Point mode. This application uses host-driver APIs to configure the device in either of these two modes and shouldn't be confused w/ Force AP Mode which is used to force CC3100 to wake-up in AP mode and run with pre-defined configurations.

NoteNote: This wiki page is only applicable for CC3100-SDK v1.0.0 and upward releases. For documentation on older SDKs' examples, refer corresponding file in <cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\

Source Files briefly explained[edit]

i. main - Configure the station/AP mode, initialize the device and in station mode connects to AP.

Usage[edit]

Prerequisite: This application requires an access-point with internet connectivity

  • Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - [| CC31xx_&_CC32xx_Terminal_Setting_Wiki] has detailed instructions for configuring the terminal-program
  • Define __CONFIGURE_AP__ for configuring CC3100 in AP mode. If this macro is undefined, CC3100 will be configured in STA mode
  • Edit sl_common.h and set values for below macros:

     1. In STA mode, edit following parameters to establish connection w/ an AP.

   #define SSID_NAME       "<ap-name>"
   #define SEC_TYPE        SL_SEC_TYPE_OPEN
   #define PASSKEY         ""

     2. In AP mode, CC3100 will come-up in AP mode w/ below credentials.

   #define SSID_AP_MODE       "cc3100_ap"
   #define PASSWORD_AP_MODE   ""
   #define SEC_TYPE_AP_MODE   SL_SEC_TYPE_OPEN
  • Build and launch the application
  • See the self explanatory logs on the terminal-program's console. On success, below message will be displayed on the terminal
Mode_config_ap_1.png


Mode_config_sta_1.png

NoteNote: : User needs to reconfigure the device in 'Station-Mode' for executing other sample applications. Refer function configureSimpleLinkToDefaultState in this example's main.c for configuring the device in 'Station-Mode'.

Limitations/Known Issues[edit]

None

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Mode Config Application here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Mode Config Application here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3100 Mode Config Application here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3100 Mode Config Application here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3100 Mode Config Application here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Mode Config Application here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Mode Config Application here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3100 Mode Config Application here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3100 Mode Config Application here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity