Coder Social home page Coder Social logo

Comments (6)

botletics avatar botletics commented on May 16, 2024

Yes, it should support SIM5320A and E versions. Did you use the "G" command in the LTE_Demo code first to enable GPRS then post with "3"?

Please be more specific and include what code you're using, AT command responses, etc.

from sim7000-lte-shield.

nagaokashi avatar nagaokashi commented on May 16, 2024
  • GPRS is no longer available in my country (JAPAN).
    I took a look into the Adafruit_FONA.cpp, instead of using "AT+CSOCKAUTH" for 3G, you used "AT+CGAUTH".
// set username/password
	      if (apnusername) {
					char authstring[100] = "AT+CGAUTH=1,1,\"";
					char *strp = authstring + strlen(authstring);
					prog_char_strcpy(strp, (prog_char *)apnusername);
					strp+=prog_char_strlen((prog_char *)apnusername);
......

This is my AT command

AT+CGSOCKCONT=1,"IP","3g-d-2.ocn.ne.jp"
OK
AT+CSOCKSETPN=1
OK
AT+CSOCKAUTH=1,2,"mobile","mobileid@ocn"
OK
AT+CHTTPSSTART
OK
AT+CHTTPSOPSE="httpbin.org",80,1
ERROR

I have no ideal about this error and do not know how to debug.

from sim7000-lte-shield.

botletics avatar botletics commented on May 16, 2024

Please try "www.httpbin.org" with the "www" and see if it works.

from sim7000-lte-shield.

nagaokashi avatar nagaokashi commented on May 16, 2024

Hi @botletics .
I tried but same result.

AT+CGSOCKCONT=1,"IP","3g-d-2.ocn.ne.jp"
OK
AT+CSOCKSETPN=1
OK
AT+CSOCKAUTH=1,2,"mobile","mobileid@ocn"
OK
AT+CHTTPSSTART
OK
AT+CHTTPSOPSE="www.httpbin.org",80,1
ERROR

If you have any ideal, please tell me.

from sim7000-lte-shield.

botletics avatar botletics commented on May 16, 2024

Sorry, I am not 100% sure what might be wrong because users have reported the code works fine on SIM5320 and the same AT commands run on the SIM7500 as well.

Maybe you could try "www.dweet.io" instead? I know that works for me.

from sim7000-lte-shield.

botletics avatar botletics commented on May 16, 2024

Did you get it working?

from sim7000-lte-shield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.