Sim300 server.exe not working
Sat Jan 07 2012, 06:03 pm
Hello ,
I am trying to connect to internet with SIM300 MODEM , i am able to access websites like Google.com , by sending command to sim300 through hyperterminal , but i want to transmit data from SIM300 to some server etc on internet , so to verify it , i used SERVER.EXE , and followed the procedure to set up port etc , and then i tried to connect with My PC , through GPRS on SIM300 modem , but it can not connect ,
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","airtelgprs.com"
OK
AT+CSTT="airtelgprs.com","",""
OK
AT+CIICR
OK
AT+CIFSR
117.98.170.110
AT+CIPSTATUS
OK
STATE: IP STATUS
AT+CIPHEAD=1
OK
AT+CDNSORIP=0
OK
AT+CIPSTART="TCP","<MY PUBLIC IP>","2020"
OK
STATE: TCP CONNECTING
CONNECT FAIL
AT+CIPCLOSE
CLOSE OK
it does not work ,or there any other method to verify and see the Data sent from SIM300 over gprs network , in case i don't own a website or server space.
I am trying to connect to internet with SIM300 MODEM , i am able to access websites like Google.com , by sending command to sim300 through hyperterminal , but i want to transmit data from SIM300 to some server etc on internet , so to verify it , i used SERVER.EXE , and followed the procedure to set up port etc , and then i tried to connect with My PC , through GPRS on SIM300 modem , but it can not connect ,
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","airtelgprs.com"
OK
AT+CSTT="airtelgprs.com","",""
OK
AT+CIICR
OK
AT+CIFSR
117.98.170.110
AT+CIPSTATUS
OK
STATE: IP STATUS
AT+CIPHEAD=1
OK
AT+CDNSORIP=0
OK
AT+CIPSTART="TCP","<MY PUBLIC IP>","2020"
OK
STATE: TCP CONNECTING
CONNECT FAIL
AT+CIPCLOSE
CLOSE OK
it does not work ,or there any other method to verify and see the Data sent from SIM300 over gprs network , in case i don't own a website or server space.
Sat Jan 07 2012, 10:07 pm
I need to Verify that I can send and receive Data over GPRS THROUGH SIM300 modem , so far i have used tcpserve , server.exe on my pc, to check if sim300 can make a connection with My PC through GPRS , but everytime same message "CONNECT FAIL " , while connection to otherwebsites like google is working ,
I have no experience in server programming etc , so what can be easiest method to see the data sent from SIM300 GPRS at other END ,
I have no experience in server programming etc , so what can be easiest method to see the data sent from SIM300 GPRS at other END ,
Sun Jan 08 2012, 03:35 am
most probably its the IP issue... either you;re not entering correct IP or if your IP is right then you might be using a router which is preventing connection to your local PC. login to your router to do port forwarding and you will be able to connect.
Sun Jan 08 2012, 03:56 pm
Hello Ajay ,
I am using my public ip shown on google etc when u search for "My IP " , i am not using Router ,its only an ADSL modem and my PC ,
I am using my public ip shown on google etc when u search for "My IP " , i am not using Router ,its only an ADSL modem and my PC ,
Wed Jan 18 2012, 06:58 pm
sorry for late reply.. did you configure your router as a bridge or pppoe connection? to be more clear did you create a DSL dialup in your PC or internet is on when you turn on ur router?
Wed May 02 2012, 02:07 am
Hello Amit sir
i m trying to setup an internet connection using GSM modem SIM300 but facing some difficulties.... it will be great if u help me to do this..........
here is wht i hv tried so far
at
OK
at+cmgf=1
OK
at+cgatt=1
OK
at+cgdcont=1
OK
at+cstt="airtelgprs.com","guest","guest"
OK
at+ciicr
OK
at+cifsr
223.179.181.72
at+cipstatus
OK
STATE: IP STATUS
at+ciphead=1
OK
at+cdnsorip=1
OK
at+cipstart="tcp","www.google.com","80"
OK
CONNECT OK
at+cipsend
> get/http/1.1
SEND OK
at+cipsend
> get/http/1.1
SEND OK
//(after about 5 mins it reply )
CLOSED
i m referring this link
http://www.8051projects.info/forum/gsm/2256-open-webpage-using-commands-via-gprs.html
i have no idea what is going wrong, i m not familiar with ip address n all, search a lot related to this topic bt still no where......
plz help me with ur ideas
thanks and regards
i m trying to setup an internet connection using GSM modem SIM300 but facing some difficulties.... it will be great if u help me to do this..........
here is wht i hv tried so far
at
OK
at+cmgf=1
OK
at+cgatt=1
OK
at+cgdcont=1
OK
at+cstt="airtelgprs.com","guest","guest"
OK
at+ciicr
OK
at+cifsr
223.179.181.72
at+cipstatus
OK
STATE: IP STATUS
at+ciphead=1
OK
at+cdnsorip=1
OK
at+cipstart="tcp","www.google.com","80"
OK
CONNECT OK
at+cipsend
> get/http/1.1
SEND OK
at+cipsend
> get/http/1.1
SEND OK
//(after about 5 mins it reply )
CLOSED
i m referring this link
http://www.8051projects.info/forum/gsm/2256-open-webpage-using-commands-via-gprs.html
i have no idea what is going wrong, i m not familiar with ip address n all, search a lot related to this topic bt still no where......
plz help me with ur ideas
thanks and regards
[ Edited Wed May 02 2012, 02:09 am ]
Wed May 02 2012, 02:23 pm
Hi sumit ,
look at http://madeeasykits.com/faqs.asp " How do I make a GPRS connection and send an HTTP Request?"
This works perfectly for me ,
after TCP connection is established ,
AT+CIPSEND - Issue Send Command (wait for module to return '>' to indicate it's ready to receive data
GET / HTTP/1.1 - Send data - this example is an HTTP request for the default (home) page of Google
Host: www.google.com
Accept: */*
Accept-Language: en-us
- Send a blank-line and then a Ctrl-Z
- Data from the remote server will be sent by the module
look at http://madeeasykits.com/faqs.asp " How do I make a GPRS connection and send an HTTP Request?"
This works perfectly for me ,
after TCP connection is established ,
AT+CIPSEND - Issue Send Command (wait for module to return '>' to indicate it's ready to receive data
GET / HTTP/1.1 - Send data - this example is an HTTP request for the default (home) page of Google
Host: www.google.com
Accept: */*
Accept-Language: en-us
- Send a blank-line and then a Ctrl-Z
- Data from the remote server will be sent by the module
sumitdby like this.
Wed May 02 2012, 03:13 pm
Sending a " Ctrl-Z" is necessary after a GET Request , or SMS , or DATA to TCP /UDP , this perhaps Signals END OF MESSAGE to Modem , then only your GET Request or SMS is Sent
Fri May 04 2012, 12:43 am
at
OK
at+cgatt=1
OK
at+cgdcont=1,"IP","airtelgprs.com"
OK
at+cdnscfg="0.0.0.0","0.0.0.0"
OK
at+cstt="airtelgprs.com","",""
OK
at+ciicr
OK
at+cifsr
223.191.220.9
at+cipstatus
OK
STATE: IP STATUS
at+cdnsorip=1
OK
at+cipstart="tcp","www.google.com","80"
OK
CONNECT OK
at+cipsend
> GET /index.html HTTP/1.1
SEND OK
HTTP/1.1 302 FoundLocation: http://www.google.co.in/Cache-Control: privateContent-Type: text/html; charset=UTF-8Set-Cookie: PREF=ID=b09de108aee4fe30:FF=0:TM=1336071660:LM=1336071660:S=yaYDa2a6DtNrStne; expires=Sat, 03-May-2014 19:01:00 GMT; path=/; domain=.google.comSet-Cookie: NID=59=h7SJwuCKpACzaDjQaWxSFbYNLrVsYa-m1x2p-wneLYlYgjMS6BUmK_ZvZG_7SmYrQQsK3nrTe2hGx54V7lhkHufiZfT_Sc-fJNPRVkEUH9qIfNy6_UZZwq5sMypeZ_9F; expires=Fri, 02-Nov-2012 19:01:00 GMT; path=/; domain=.google.com; HttpOnlyP3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."Date: Thu, 03 May 2012 19:01:00 GMTServer: gwsContent-Length: 221X-XSS-Protection: 1; mode=blockX-Frame-Options: SAMEORIGIN##SANITISED##><HEAD>##SANITISED## http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD>##SANITISED##> <H1>302 Moved</H1> The document has moved <A HREF="http://www.google.co.in/">here</A>.##SANITISED##>##SANITISED##>
OK
at+cgatt=1
OK
at+cgdcont=1,"IP","airtelgprs.com"
OK
at+cdnscfg="0.0.0.0","0.0.0.0"
OK
at+cstt="airtelgprs.com","",""
OK
at+ciicr
OK
at+cifsr
223.191.220.9
at+cipstatus
OK
STATE: IP STATUS
at+cdnsorip=1
OK
at+cipstart="tcp","www.google.com","80"
OK
CONNECT OK
at+cipsend
> GET /index.html HTTP/1.1
SEND OK
HTTP/1.1 302 FoundLocation: http://www.google.co.in/Cache-Control: privateContent-Type: text/html; charset=UTF-8Set-Cookie: PREF=ID=b09de108aee4fe30:FF=0:TM=1336071660:LM=1336071660:S=yaYDa2a6DtNrStne; expires=Sat, 03-May-2014 19:01:00 GMT; path=/; domain=.google.comSet-Cookie: NID=59=h7SJwuCKpACzaDjQaWxSFbYNLrVsYa-m1x2p-wneLYlYgjMS6BUmK_ZvZG_7SmYrQQsK3nrTe2hGx54V7lhkHufiZfT_Sc-fJNPRVkEUH9qIfNy6_UZZwq5sMypeZ_9F; expires=Fri, 02-Nov-2012 19:01:00 GMT; path=/; domain=.google.com; HttpOnlyP3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."Date: Thu, 03 May 2012 19:01:00 GMTServer: gwsContent-Length: 221X-XSS-Protection: 1; mode=blockX-Frame-Options: SAMEORIGIN##SANITISED##><HEAD>##SANITISED## http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD>##SANITISED##> <H1>302 Moved</H1> The document has moved <A HREF="http://www.google.co.in/">here</A>.##SANITISED##>##SANITISED##>
[ Edited Fri May 04 2012, 12:58 am ]
Powered by e107 Forum System