Go Down

Topic: Gprs / sim900 http post (Read 1 time) previous topic - next topic

fnsnoop

I am new to using a GPRS module so I am still learning a lot of the basic things. I can get it to do an HTTP GET just fine but I was unsure how to approach the HTTP POST. How do I know how much I can put in the message body? Do I have to worry about the MTU or is that handled a layer down? I was planning on opening a file off the SD card and write it directly to the message body but I am unsure on the speed I should do this at, can I just make the baud rate really slow like 9600 bps? I am concerned with overwhelming the GPRS connections. I would like to write 1-5 KB in the message body, maybe even more like 1 MB if it goes really well. I know my server can accept up to 30MB on uploads.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy