Discussion in "Embedded GSM Development" started by    Shailesh NAYAK    Feb 16, 2009.
Mon Feb 16 2009, 09:14 AM
#1
command set in order it is required:
  1. AT+CSTT="apn","username","password" //START TASK AND SET APN, USER NAME, PASSWORD (in India username and /pwd not required so you can give blank qoutes only)
  2. AT+CIICR //BRING UP WIRELESS CONNECTION WITH GPRS OR CSD
  3. AT+CIFSR //GET LOCAL IP ADDRESS
  4. AT+CIPSTART="TCP","IP","PORT" // START UP TCP OR UDP CONNECTION
  5. AT+CIPSEND[enter]
    your data strings to be send (upto 1024 bytes are allowed //SEND DATA THROUGH TCP OR UDP CONNECTION
    Ctrl-Z (in micon 0x1A). to send the data
  6. AT+CIPSHUT //close all active connections


[ Edited Tue Mar 12 2013, 01:04 PM ]
 rearthur2003 like this.
Fri Sep 25 2009, 08:50 AM
#2
hi,

what is the apn for airtel sim...as i am new to gprs communication need to know a lot before working on.
 praveen.accet like this.
Fri Sep 25 2009, 09:33 AM
#3
hi started and found this error
at
OK
at+cstt="airtelgprs.com",","
OK
at+ciicr
ERROR
at+cifsr
ERROR

wat might be the wrong in this
Fri Sep 25 2009, 12:38 PM
#4
Hi GPRS experts.....

i used above set of commands and found the result below...please help me in solving the problem i am attaching my TCP test tool window and Hypertermial screenshots.awaiting response

at
OK
at+cstt="airtelgprs.com",","
OK
at+ciicr
OK
at+cifsr
117.97.37.90
at+cipstart="TCP","192.168.1.26","12345"
OK
at+cipsend=srikanth Happy Dussera
ERROR
at+cipsend=srikanth Happy Dussera
ERROR

STATE: TCP CONNECTING

CONNECT FAIL
Fri Sep 25 2009, 12:44 PM
#5
attachments



Sat Sep 26 2009, 02:32 PM
#6
you first have to wait for TCP connection to establish to send data.
after the connection is established you will get "CONNECT OK" on display.

for sending data try this way

at+cipsend="srikanth Happy Dussera" [ctr+z]


[ Edited Sat Sep 26 2009, 02:32 PM ]
Mon Oct 05 2009, 06:59 AM
#7
hi ajay,

sorry for late response i was in vacation....i fallowed ur stated steps and found the same result repeadtedly i.e....

at
OK
at+cstt="airtelgprs.com",","
OK
at+ciicr
OK
at+cifsr
117.97.28.135

Call Ready
at+cipstart="tcp","192.168.1.26","12345"
OK

STATE: TCP CONNECTING

CONNECT FAIL

mine is a LAN based PC (IP as above) and modem with airtel broadband connection.
checking the data over TCP Test tool V2.3
Please help me in solving ....is there any port farwarding or anything else required for connecting successfully.
Tue Oct 06 2009, 11:20 AM
#8
BEEP

at+cipstart="tcp","192.168.1.26","12345"

that ip is local ip, your server need to be online so that everyone can connect.

check your IP with whatismyip.com
Tue Oct 06 2009, 03:55 PM
#9
Once you have got your proper IP from whatismyip.com
you need to use it instead of "192.168.1.26" in

at+cipstart="tcp","192.168.1.26","12345"

Then you will need to setup port forwarding in your router,
to port "12345".
Or whatever port your PC software is listening to.


[ Edited Tue Oct 06 2009, 03:59 PM ]
Fri Oct 09 2009, 01:11 PM
#10
Thanks ajay,experimentorUK,

i am studying and working on port forwarding....will come back after completing.

Get Social

Information

Powered by e107 Forum System

Conversation

Mon Mar 01 2021, 10:00 PM
Olivia Johnson
Citibank expects Bitcoin to hit USD$300,000 by end of this year.

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 106, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123