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.

How to send Large data in POST in Tiva C Series

Hi,

I am using CCS v6.1.0.00104 and TivaWare_C_Series-2.1.1.71 on EK-TM4C1294XL on Windiws 8 64 bit.

Currently I am doing POST Request to local server with I2C sensor data taken from Launchpad. I have taken enet_weather example as base and checking the limit how much data can be sent in one POST Command.

I inecrease MAX_LENGTH to 16KBytes. I observed that when Payload in gs_Enet.pcRequest is going more than 8192 bytes it is not able to send data.

I increased TCP_WND to 16K,  TCP_MSS to 4096 and TCP_SND_BUF as  (4 * TCP_MSS), but than tcp_write() in starts giving error as -1(ERR_MEM). I even tried to increase parameter size more and it started giving compilation error because of Low memory.

Can you please let me know how to resolve this? My server is not allowing TCP Socket Connection. So Socket APIs are not helping. Attached is lwipopts.h file. LwIP version is 1.4.1

Thanks,
Bhavesh

lwipopts.h