Texas Instruments CC3200-LAUNCHXL 사용자 설명서

다운로드
페이지 30
Compile, Download, and Debug
Figure 12. Select simplelink Project
6. Select the ti_rtos_config project and build it.
7. Select the driverlib project and build it.
8. Select the oslib project and build it.
9. Open the main.c file of the wlan_station project for editing at C:\TI\CC3200SDK\cc3200-
sdk\example\getting_started_with_wlan_station\main.c.
10. Edit main.c to use the SSID, security type and security key of the Access Point being used. Edit the
macros SSID_NAME, SECURITY_TYPE and SECURITY_KEY to contain the Access Point’s
information as shown in
The security types supported for this demo are WPA/WPA2 and
Open. For Open security, define SECURITY_TYPE as SL_SEC_TYPE_OPEN. For WPA and WPA2
security, define it as SL_SEC_TYPE_WPA. Alternatively, the SSID and security of the Access Point
being used can be changed to match the default (SSID: cc3200demo, Security: Open).
Figure 13. Editing main.c
11. Save main.c.
14
CC3200 SimpleLink™ Wi-Fi
®
and IoT Solution With MCU LaunchPad™
SWRU376A – June 2014 – Revised June 2014
Getting Started Guide
Copyright © 2014, Texas Instruments Incorporated