TCP with Gprs Gsm A6 Module

Good news for the A6, there is a simple way for TCP, i wrote in the previous article the long way with AT+CGACT=1,1 because AT+CIICR did not work for me but Simon f found the good order for use it, so i give you his code:

 

**Power Up**

AT+CSTT=”free”,””,””

 

OK

AT+CGDCONT=1,”IP”,”free”

 

OK

AT+CIICR

(we can wait a lot of time, if you see COMMAND NO RESPONSE! do nothing, this mess is send if a command don’t return a message after a while)

 

+CTZV:16/6/8, 1:33:8:8

 

+CGREG:5

 

OK

 

+CGREG:5

AT+CIPSTART=”TCP”,”speedtest.tele2.net”,21

 

+CDNSGIP:1,”speedtest.tele2.net”,”90.130.70.73″

 

OK

 

CONNECT OK

 

OK

 

AT+CIPCLOSE               (If you want to close the actual tcp connection)

AT+CIPSHUT                 (If you want to stop the internet connection)

I invite you to go to see his comments for more info and his article!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s