This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: TIVA BOARD

Other Parts Discussed in Thread: CC3100SDK

Tool/software: Code Composer Studio

Hello ,

I wanted to acquire IP address of WLAN STATION using cc3100sdk.

static _i32 establishConnectionWithAP()
{
SlSecParams_t secParams = {0};
_i32 retVal = 0;

secParams.Key = (_i8 *)PASSKEY;
secParams.KeyLen = pal_Strlen(PASSKEY);
secParams.Type = SEC_TYPE;

retVal = sl_WlanConnect((_i8 *)SSID_NAME, pal_Strlen(SSID_NAME), 0, &secParams, 0);
ASSERT_ON_ERROR(retVal);

/* Wait */
while((!IS_CONNECTED(g_Status)) || (!IS_IP_ACQUIRED(g_Status))) { _SlNonOsMainLoopTask(); }

return SUCCESS;
}

At this it is acquiring IP address but i want to print it on the screen .suggest if any changes need to be made.