Gemalto is now part of the Thales Group, find out more.

You are here

ELS61 e R2 post reponse. | Thales IoT Developer Community

September 1, 2021 - 11:47am, 195 views

Hello Everyone, Here I'm using ELS61 E R2 gsm module. I'm trying to download a file as a response to HTTP post. the file size is 70KB. when ever I send a packet of data as shown in the log, I expect some data to come as HTTP response. But I was not able to read it, why? From the server side, I can see that data is being sent continuously but in ELS61 it shows there's no data at all. I can only read it thrice as you can see, is there a limit to post response size? the same file can be downloaded from HTTP get method, which we done successfully but not from HTTP Post response. I wish to know how to download a file as "HTTP post response from the server" AT OK

AT^SICS=1,contype,GPRS0

OK

AT^SICS=1,apn,airteliot.com

OK

AT^SISS=1,srvtype,http

OK

AT^SISS=1,conid,1

OK

AT^SISS=1,cmd,post

OK

AT^SISS=1,hcProp,Content-Type: application/json

OK

AT^SISS=1,address,http://address/DownloadFile

OK

AT^SISS=1,hcContLen,122

OK

AT^SISO=1

OK

^SIS: 1,0,2200,"Http IP-address:10000"

^SISW: 1,1

AT^SISW=1,122

^SISW: 1,122,0

{"Password":"123456","DownloadFile":[ { "Timestamp":"2020-01-01T01:01:01.000Z", "Parameter":"Id", "String":"6" }] }

OK

AT^SISW=1,0,1

^SISW: 1,0,0

OK

^SISW: 1,1

^SISW: 1,2

^SIS: 1,0,2200,"HTTP POST: http://ip-address/DownloadFile" ^SIS: 1,0,2200,"HTTP POST Response: 200"

^SISR: 1,1

AT^SISR=1,512

^SISR: 1,512

^TMB_104,1.24,1.00,5X,\z#00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 OK AT^SISR=1,512

^SISR: 1,512

pf !! !!!!!!!!!Éý]þ%ÿÿ ±Y­ ±Y­ ±Y­ ±Y­­ å ÑùÕÙmÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

OK

AT^SISR=1,512

^SISR: 1,255 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

OK