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.

CC3220S-LAUNCHXL: HTTP Get example not working

Part Number: CC3220S-LAUNCHXL

Hi,

Every time I run the HTTP get example, TeraTerm shows the below error. I have setup the correct info for "SSID_NAME, SECURITY_TYPE, SECURITY_KEY". How can I fix this?

Sending a HTTP GET request to 'http://www.example.com'

Error! code = -2050, desc = Connection failed , error code : %d

  • Hi,

    You should use httpget example from latest SDK.

    Your error is returned because your device is not STA mode. Demo in SDK version 2.10 does not switch automatically into STA mode.

    Jan