Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM300 command AT GPRS (PND wince)

Status
Not open for further replies.

83stef

Newbie level 4
Joined
Jul 13, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
french
Activity points
1,327
sim300 gprs commands

Bonjour,
Désoler je résume en français.
Je dispose d'un PND sous wince équipé d'une puce SIM 300 pour le modem.
J'arrive avec les commands AT a lire & écrire des SMS sans probleme.
Je voudrais établir une connexion GPRS pour utiliser le navigateur internet.

J'execute :

AT+cdgcont=1,"IP","APN"
et ATDT*99#

Connect s'affiche , puis 5 lignes de caractères
et à la fin s'affiche
NO CARRIER

Quelqu'un peut il m'expliquer ? faut il lancer d'autres commandes AT pour établir la connexion GPRS ?

merci stef

In English :

I am able to connect my PND (wince modem chip SIM300) to the ISP (by command AT for GPRS).

I issue 2 ATcommands to try and connect to the Internet through GPRS:
AT+cdgcont=1,"IP","APN" and ATDT*99#.
I receive a CONNECT respond and some unreadable characters.
But after displaying a few lines of these characters, I receive a respond of NO CARRIER and the dial stops.

Are there anything wrong in me trying to dial up to my ISP through this way?
Are there any codes for me to set up the PPP?

Thanks you
 

gprs at commands

Where from are you issuing the AT commands?
The characters that you receive are PPP handshaking information from the server. As you are not responding to those commands the server withdraws the connection.
 

gprs at command

Thanks for your response !

the command AT are obtained of pdf "SIM300 Software Application Note".

once received the informations (PPP data), what are the commands AT additionals for for establish Internet access ???

AT+cdgcont=1,"IP","APN"

ATDT*99#

... ????

Regards,
Stef
 

gprs commands

Here's the commands you need to send. In the example below '>>' indicates data you send to the module, while'<<' indicates data returned from the module. This example is for connecting through the AT&T/Cingular network. You'll need to get the APN, user name and password for the network you are using. Also, you'll need to add your data to the request.

Code:
First you need to open a PDP context. 

>> AT+CGATT=1   - Attach to GPRS Service 
<< OK 

>> AT+CGDCONT=1,"IP","wap.cingular"   - Define PDP Context (cid, PDP type, APN) 
<< OK 

>> AT+CDNSCFG="208.67.222.222","208.67.220.220" - Configure Domain Name Server (primary DNS, secondary DNS) 
<< OK 

>> AT+CSTT="wap.cingular","wap(at)cingulargprs.com","cingular1" - Start Task & set APN, User ID, and password 
<< OK 

>> AT+CIICR     - Bring up wireless connection with GPRS - THIS MAY TAKE A WHILE 
<< OK 

>> AT+CIFSR      - Get Local IP address 
<< 10.190.245.172   - returns IP address assigned to your module 
<< OK 

>> AT+CIPSTATUS      - Get Connection Status 
<< OK 
<< STATE: IP STATUS   - returns status of connection, needs to be 'IP STATUS' before you can connect to a server




After you have context, you need to make a connection to the server and then send your data.
Code:
>> AT+CIPHEAD=1      - Tells module to add an 'IP Header' to receive data 
<< OK 

>> AT+CDNSORIP=1   - Indicates whether connection request will be IP address (0), or domain name (1) 
<< OK 

>> AT+CIPSTART="TCP","www.google.com","80" - Start up TCP connection (mode, IP address/name, port) 
<< OK 
<< CONNECT OK      - Indicates you've connected to the server - IT MAKE TAKE A WHILE FOR THIS TO BE RETURNED 

>> 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 page 
>> Host: [url]www.google.com[/url] 
>> Connection: Keep-Alive 
>> Accept: */* 
>> Accept-Language: en-us 
>> 
<< data from server returned - Server will return data here
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top