Other Parts Discussed in Thread: CC3200
Hi,
I am using Rev 3.2 CC3200 LP, CC3200 SDK 1.1.0, latest Service Pack and CCS V6.1.0. I am getting this error at Get Time Example Program below. At wlan station example program I tested it successfully, so I am sure I am able to connect to internet. Before I was able to test Get Time Example Program with older version of CC3200 SDK without problems. What changes should I make for the Get Time work without errors?
I also tested the hibernation example program and got the same error.
Tera Term Log:
Host Driver Version: 1.0.0.10
Build Version 2.0.7.12.31.0.0.4.5.1.5.3.20
Device is configured in default state
Device started as STATION
[WLAN EVENT] STA Connected to the AP: jefwifi ,BSSID: 0:26:75:91:6a:67
[NETAPP EVENT] IP Acquired: IP=192.168.254.100 , Gateway=192.168.254.254
Connection established w/ AP and IP is aquired
Pinging...!
Device pinged both the gateway and the external host
WLAN STATION example executed successfully
*************************************************
CC3200 Get Time Application
*************************************************
GET_TIME: Test Begin
Host Driver Version: 1.0.0.10
Build Version 2.0.7.12.31.0.0.4.5.1.5.3.20
Device is configured in default state
Started SimpleLink Device: STA Mode
[WLAN EVENT] STA Connected to the AP: jefwifi , BSSID: 0:26:75:91:6a:67
[NETAPP EVENT] IP acquired by the device
Device has connected to jefwifi
Error [-412] at line [1112] in function [Network_IF_IpConfigGet]
Error [-412] at line [1036] in function [Network_IF_ConnectAP]
Connection to an AP failed
I debug step the Get Time example program at CCS and there is a negative return value at the code line below which is called within Network_IF_ConnectAP()
//
// Get IP address
//
lRetVal = Network_IF_IpConfigGet(&ulIP,&ulSubMask,&ulDefGateway,&ulDns);
ASSERT_ON_ERROR(lRetVal)
- kel
