Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO TCP Connection / at command execution failed CIPSTART #9

Open
kamane opened this issue Jun 18, 2020 · 6 comments
Open

NO TCP Connection / at command execution failed CIPSTART #9

kamane opened this issue Jun 18, 2020 · 6 comments

Comments

@kamane
Copy link

kamane commented Jun 18, 2020

After confirming connection with APN , by using AT+CGPADDR=1 i receive my IP adress .
and also ping a server works with this command AT+PING="10.234.79.235",120,200,1

Then this command alway failed AT+CIPSTART="TCP","10.234.79.235","80"

how can i fix this issue ?

this also is not working MQTT :
AT+MQTTCONN="mqtt.thingspeak.com",1883,"DHT11",120,1,"ESP12SA9G","BQ64USNQPF4GEPSJ"

here is my firmware version .

A9/A9G
V02.02.20190915R
Ai_Thinker_Co._Ltd.
READY
+CTZV:20/06/16,11:32:31,+02

@dapadilla5986
Copy link

@kamane you solved the problem?
I have a similar issue

@sadamyne
Copy link

Hi,
How do you make the connection?
Im using:
String msg= sendData("AT+CGATT=1",1000,DEBUG); //GPRS ATTACH OR DETACH
Serial.println(msg);
msg= sendData("AT+CGDCONT=1,"IP","TM"",1000,DEBUG); // subs CMNET por pepper ou TM
Serial.println(msg);
delay(5000);
msg= sendData("AT+CGACT=1,1",1000,DEBUG); //command is used to activate ot deactivate the PDP context
Serial.println(msg);
delay(5000);
msg= sendData("AT+PING="8.8.8.8",120,200,1",1000,DEBUG);
but im not getting any response...

Thanks in advance

@kamane
Copy link
Author

kamane commented Jul 24, 2020

@dapadilla5986 yes make sure your power supply is correct .

@kamane
Copy link
Author

kamane commented Jul 24, 2020

@sadamyne if your board have an ip assigned then try this AT+HTTPGET="http://xx.xx.xx.xx"

@sadamyne
Copy link

sadamyne commented Jul 25, 2020

Thanks it helped me solve it, i had two problems, one was the baud rate of the A9G serial wasn't set to 9600, the other was that the delay between turning on the A9G and trying to connect to the ISP was too small. I manage to get a message to the mqtt broker im using (dioty.com).

I searched and i couldn't find a manual or list of AT-commands for the A9G, do you have one of those?
Is there a command to get the gsm localtization (to use when satelites are not visible to the gps?)
Thanks

@IOT-MCU
Copy link
Owner

IOT-MCU commented Oct 29, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants