Manually using AT commands
-
I’m just starting to learn how to use the LILYGOTTSIM7000G. Before I get deep into coding I was manually entering AT commands thru Putty and TeraTerm to get familiar with procedure and syntax.
I want to send an HTTP Post JSON packet to my webserver and I’ve been successful reaching the server but I can’t figure out how to add the actual payload to post using AT+HTTPDATA.
I get the response “DOWNLOAD” but I can’t type anything in…I tried to do A COPY AND paste or use Ctrl-V and nothing seems to work. What is the trick to this?Related…looking at the SIM7000 Series AT Command Manual I see no HTTPDATA command but I see a AT+HTTP commands that are AT+SG…. None of those seem to work for me. What am I missing?
Here is my example:
OK
AT
OK
AT+CMNB=1
OK
AT+CNMP=38
OK
AT+CSTT="super","",""
OK
AT+CIICR
OK
AT+CIFSR
100.79.21.170
AT+CIPSTATUS
OKSTATE: IP STATUS
AT+SAPBR=3,1,"APN","super"
OK
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"OK
AT+SAPBR=1,1
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","http://(my sever)"
OK
AT+HTTPPARA= "CONTENT","application/json"
OK
AT+HTTPDATA=266,10000
DOWNLOAD
(how is this data entered?????)
OK
AT+HTTPACTION=1
OK+HTTPACTION: 1,200,1144
(success but no data in fields)