Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

3G FONA not posting to web using AT commands

Home Forums Infrastructure and Equipment 3G FONA not posting to web using AT commands

Viewing 0 reply threads
  • Author
    Posts
    • #12331
      SGFulton
      Participant

        Hello,

        If anyone could shed some light on which AT commands we’re either using incorrectly or missing altogether, we could greatly appreciate any assistance you can offer. I’ve posted before re: 3G FONA but we’ve run across a new problem. We’ve been successfully using the 2G FONA 808 cellular modem with a Ting 2G Sim card from Adafruit here in Georgia, USA. I had been intending to use the 808 in KY but recently (May 2018) discovered that 2G is no longer available from my research site in remote eastern KY. We have purchased the 3G FONA and are testing it with an AT&T SIM card here in the office in Athens, GA. We can successfully register the FONA and have been able to “ping” the internet. However, we are unable to post to the internet. We’re using the FONA test code with the 3G FONA (SIM5320A) on an Arduino Mega.

        Using examples from the manual for the 5320 chip, we’ve tried sending the following AT commands to the FONA via the Serial Tunnel AT command sequence, but nothing is being sent to the website and nothing is being returned (the lines below alternate with the command sent on the first line followed by the reply received in bold on the second line). NOTE: the GET line was terminated with an extra carriage return:

        AT+CGSOCKCONT=1,”IP”,”wap.cingular”,,
        OK
        AT+CSOCKSETPN=1
        OK
        AT+CHTTPSSTART
        OK
        AT+CHTTPSOPSE=”hardrock.gly.uga.edu”,80,1
        OK
        AT+CHTTPSSEND=43
        >GET /hardrock.gly.uga.edu/ok.txt HTTP/1.1
        OK
        AT+CHTTPSSEND
        OK

        +CHTTPSSEND: 0
        AT+CHTTPSSEND?
        +CHTTPSSEND: 0

        OK
        AT+CHTTPSRECV=250
        OK

        +CHTTPSRECV: 0

        Thanks in advance for your help!

        Cheers,
        Stephanie

    Viewing 0 reply threads
    • You must be logged in to reply to this topic.