GS2000 Based Quick Start Guide TLS Concurrent Mode ADK

Report 8 Downloads 64 Views
GS2K_QSG_TLS_CONCURRENT_MODE_ADK_001262, Release 1.0

GS2000 Based TLS Concurrent Mode ADK Quick Start Guide Supports GS2011M Modules This Quick Start Guide will walk you through the steps to setup and demonstrate TLS Concurrent Application on EVB Hardware. You will need the following items:

Step 3 Press the F8 and select “Rebuild All” in batch build

• • • • • •

screen for a successful build with 0 errors in the build tab.

Quick Start Guide (this document) SDK Package GS2011M EVB Hardware USB to mini-USB Cable GainSpan Provisioning Andriod Application Andriod Devices.

1 Building TLS Concurrent Mode ADK

Step 2 Run the batch file "flash_program_FlashFetch_SingleImage_SDK.bat" on the build.The batch script creates app image and single image containing app.bin, wlan .bin,control blocks and webimage.

Package

Step 3 After successfully programming the board, turn the

User needs to have the SDK package to avail the Concurrent mode features.

PROGRAM/RUN switch SW8 to RUN mode and open the teraterm on the COM port with baud rate 115K to see the bootup logs as well as limited AP interface.Open the wifi tray on the laptop to see the imited AP interface of the concurrent mode device

Step 1 Download the SDK package from the SDK Builder, user should to have relevant permission to download SDK. Open the tls.eww project from path \SDK\Embedded\adk\tls\build\

Step 2 Introduce MACRO ADK_CONCURRENT_PROV to enable concurrent mode in both tls and prefetch project.

Copyright © 2016 GainSpan Corporation. All rights reserved.

2 Programming the Board Step 1 Turn the PROGRAM/RUN switch SW8 to PROGRAM mode

GS2K_QSG_TLS_CONCURRENT_MODE_ADK_001262, Release 1.0

3Inatalling Native Application Step 1 Install the Native provisioning Application shared on your Android Phone/Tab and connect to Android Phone/Tablet to the limited AP TLS_GS2K-1b9b12.

4 Provisioning the Client Interface of

Step 3 Configure the concurrent limited AP interface by changing the the security , Channel, SSID.

Concurrent Mode to AP Step 1 To provision the client interface of the concurrent mode to some AP, choose “Select existing network” and click on the arrow below the screen.

Step 4

Step 2 Open the provisioning application to see the mDNS detected PROV service in the local network. Click on it to continue

Change the IP Address, subnet, gaterway of Limited AP interface and the number of clients connected (max-16)

Step 2 Select the required AP for provisioning from the dropdown and click next

Copyright © 2016 GainSpan Corporation. All rights reserved.

GS2K_QSG_TLS_CONCURRENT_MODE_ADK_001262, Release 1.0

Client and Limited AP setting is shown in the summary page

5 Tera Term Logs

Step 6

Boot Reason : 4 Boot Info : 2 Reset Type: 0 Reset Reason : 0 Reset Info Size: 0 Reset Addl Info: 0x0 ResetInfo: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

Step 5

Clicking ‘tick mark’ will store the details to the profile on GS node and the GS node will reboot with the message "Provisioning Successful" on the native APP.

Copyright © 2016 GainSpan Corporation. All rights reserved.

TLS_GS2K-5.2.0.10 [Aug 11 2015, 14:35:58] GEPS VERSION 5.2.0.12 WLAN VERSION 5.2.0.14 App_Init APP NCM ipaddr = 0 [App_NetworkServicesStart] Entered [App_HttpdStart] Entered *************** HTTP: httpd server starts in normal mode *************** [App_ConfigCb] Entered [AppOtafu_Init] Entered TLS_GS2K-5.2.0.10 [Aug 11 2015, 14:35:58] GEPS VERSION 5.2.0.12 WLAN VERSION 5.2.0.14 App_Init ********** APP NCM started in USER-AP mode ********** [App_NetworkServicesStart] Entered [App_HttpdStart] Entered ********** HTTP: httpd server starts in normal mode **********

APP NCM ipaddr = 0 Second Interface Connected ipAddr - 192.168.23.121 staticIp - 0.0.0.0 subnetMask - 255.255.255.0 gatewayIpAddr - 192.168.23.1 dnsPriSrvrIp - 172.22.10.11 dnsSecSrvrIp - 8.8.8.8 IP Address - 192.168.2.1

Congratulations! You have successfully demonstrated setting up TLS Concurrent Mode Application on GainSpan hardware. Documents: For additional information and instructions on how to build binaries for the TLS Low Power ADK/AEK, and program the Flash, refer to the following documents on the GainSpan Support Portal: www.gainspan.com/secure/login -

SDK Builder User Guide - GS2K-SDK-BLDR-UG-001223 Programming User Guide - GS2K-EVB-FP-UG-001206

3590 N. First Street, Suite 300 San Jose, CA 95134 Tel +1 (408) 627-6500 www.gainspan.com