Ethernet uIP - total data size in POST request

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet uIP - total data size in POST request

600 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tomkrysl on Wed Mar 14 10:06:34 MST 2012
Hello,
maybe this is bad question but I didn't find anything about this:

I am sending XML data in HTTP POST request to my LPC, where modified uIP is running.

My question is if that XML data just grows over single packet size how to easily determine that all data has been sent on LPC side?

Now I just copy data from all packets to a static buffer and search each time for final XML tag. But it is kinda unclean...
0 Kudos
Reply
1 Reply

581 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tomkrysl on Wed Mar 14 16:43:57 MST 2012
Reply myself to this. If there is no further data in newly incoming packet then data transfer is completed and content should be assembled already.
0 Kudos
Reply