Discussion in "Embedded GSM Development" started by    Shailesh NAYAK    Feb 16, 2009.
Mon Feb 16 2009, 02:44 pm
#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, 06:34 pm ]
 rearthur2003 like this.
Fri Sep 25 2009, 02:20 pm
#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, 03:03 pm
#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, 06:08 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, 06:14 pm
#5
attachments



Sat Sep 26 2009, 08:02 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, 08:02 pm ]
Mon Oct 05 2009, 12:29 pm
#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, 04:50 pm
#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, 09:25 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, 09:29 pm ]
Fri Oct 09 2009, 06:41 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

Downloads

Comments

Michailqfh
Fri Mar 29 2024, 01:53 am
Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm