Hi,
I'm trying to send a file via sim800l controlled by an arduino. The arduino reads the file on an SD card and uploads to a server.
I'm using the following sequence:
AT+SAPBR=3,1,"Contype","GPRS"
AT+SAPBR=3,1,"APN","example.com"
AT+SAPBR=3,1,"USER","user"
AT+SAPBR=3,1,"PWD","password"
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+HTTPPARA="CID",1
AT+HTTPPARA="URL","example.com/test"
AT+HTTPPARA="UA","MH Tracker"
AT+HTTPSSL=0
AT+HTTPPARA="CONTENT","application/x-www-form-urlencoded"
AT+HTTPDATA=153607,120000
file="bytes ..."
AT+HTTPACTION=1
On the server side I get the POST file, but it only contains 100Kb and should contain 150Kb.
I believe it is the encoding of the http header.
Does anyone with experience know how to transmit bytes per post?
thanks