Other Parts Discussed in Thread: TM4C1294NCPDT
Tool/software: TI-RTOS
Hi,
I am trying the "http_post " on tm4c1294ncpdt, using CCS V6.2, TI-RTOS V2.16.
It was sending the fields and the body successfully, but after the sent waiting for getting the response code so getting timeout, Error! code = 408.
Please find the attach for the code.0434.httpPost_EK_TM4C1294XL_TI.rar
Console Print:
================================================================
s in flash
Starting the HTTP POST example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
Network Added: If-1:192.168.1.37
Service Status: DHCPC : Enabled : Running : 017
body = {temperature:10}
Sending a HTTP POST request to 'www.example.com'
sendRequest successful
sendField type successful, ret=0
send field length successful, ret=0
Request body sent successfully ret=0
Error! code = 408, desc = httpTask: cannot get status
================================================================
I was tried for different return types also but no use.
Regards,
Raghu DS