Other Parts Discussed in Thread: CC3100,
Tool/software: TI-RTOS
Dear Sirs
I have been struggling with the CC31x0 for two weeks now.
I really hope someone can help me with an HTTP client that sends HTTP POSTs, on a MSP432p running TI-RTOS.
The http_client using MSP430 and CC3100 works perfectly.
Then I managed to get the same working on my MSP432p and CC3100 to work.
But when I was trying to convert the program above into an RTOS environment then I failed.
So I looked at the network_terminal example which uses MSP432p, CC3120 and TI-RTOS.
I use simplelink_sdk_wifi_plugin_1_55_00_42 and CCS7.4.0
In the main thread of network_terminal I figured out that an automated AP connection works with:
memcpy(&app_CB.CmdBuffer, "wlanconnect -s \"NETGEAR38\" -t WPA/WPA2 -p \"mightywater123\"\0", 59);
RetVal = cmdWlanConnectCallback((void *)(app_CB.CmdBuffer + strlen("wlanconnect")));
if(RetVal != 0)
{
UART_PRINT(" Failed to establish connection with an AP \n\r");
return(NULL);
}
Now I need code for :
- Connect to HTTP server
- Send a HTTP POST
The code I have in the nonOS systems works very different so they don’t help me.
Any ideas are highly welcome
/Dan