• TI thinks resolved

RTOS/DK-TM4C129X: Connect to cloud (https client ) - using proxy and tls

Expert 1255 points

Part Number: DK-TM4C129X

Tool/software: TI-RTOS


I am using the base code as an example provided in ti rtos (though it is for another board) for establishing a https client on my target.

When the board it connected to ethernet, and i run the code, i get the error that host is not resolved.

To test, I tried to connect curl to my cloud server, and got the same error  host is not resolved. Then i set the proxy settings for curl and i am able to connect curl to cloud via proxy tunnel.

Now i want to do the same on my target, ie to set proxy. 

I am not able to find much documents or example on this. Can you please help, and guide me in the right direction. 

Thanks a lot


mcu : tm4c129xnczad

board: dk-tm4c129x

ide: ccs

  • In reply to a.v:

    You can use the Seconds_set() function to set the time manually. The input to this function is time in seconds since epoch. I generally use the following website to get the epoch time - www.epochconverter.com/

    The header for this function is already included in your code as you tried to use the same function through SNTP. So, build should not be a problem.