Re: price of simcom gsm modem
plz help..
Hello Friends , i just want to link to any website address by its name like
www.google.com www.yahoo.com,
www.matlab.com
i have already gone through different at commands , i am able to send data using vodafone India Sim, but fixed address, and commands are,,
Code:
AT+CGATT=1
AT&D1
AT+CGDCONT=1,"IP","portalnmms"
AT+CSTT="portalnmms","username","password"
AT+CDNSORIP=0
AT+CIICR ( Results in "Ok" )
AT+CIFSR ( Results in an ip xxx.xxx.xxx.xxx )
at+cipstart="TCP","10.10.1.100","9401"
( is this IP address remain fixed or has to change with IP address of site that i wants to link. and PORT address ?)
OK
at+cipsend
>data to send,,
ΛZ
Sent Ok
AT
OK
AT+CGATT=1
OK
AT&D1
OK
AT+CGDCONT=1,"IP","spice"
OK
AT+CSTT="spice"
OK
AT+CDNSORIP=0
OK
AT+CIICR
OK
AT+CIFSR
10.64.48.132
AT+CIPSTART="TCP","10.11.12.13","9401"
OK
CONNECT OK
AT+CIPSEND
> GET http://google.com
SEND OK
at+cipsend
> get http://www.google.com
SEND OK
at+cipshut
SHUT OK
All is fine but i am not able to understand what should i write in
command
{AT+CIPSTART="TCP","10.11.12.13","9401"}
rather than "10.11.12.13" it is address for spice
and port number for spice port 9401
is this the address for page we wants to open or what?
How can i link a page like :
Code:
www.google.com
"www.eespl.com"
please help me i am stuck in this stuff from last one week.
I am new to at commands for GPRS .. ,
what if there is a reply from modem , http: service not available.,Question
and i also receive data from, server as in this case..
Code:
at+cipshut
at+cipstart="tcp","10.10.1.100","9401"
> put http://www.google.com
SEND OK
RECV FROM:10.10.1.100:9401
+IPD187:HTTP/1.0 503 Service Unavailable
Content-Type: text/vnd.wap.wml
Proxy-Connection: close
<wml><card id="error" title="Error">
Service Unavailable, Please try later</p
></card></wml>
CLOSED