Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Manually using AT commands

    Technical Discussion
    1
    1
    210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stardaa last edited by

      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
      OK

      STATE: 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)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors