Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Establishing GPRS connection
[b][red]This message was edited by weicco at 2003-5-13 2:52:22[/red][/b][hr]
I'm working on a project which has to establish GPRS connection with AT commands. Software is supposed to run on Windows CE.
I have written a small terminal software and I can send AT commands to modem and read responses. Everything works fine, I can make calls and send SMS stuff and things like that.
But now I'm facing problems with GPRS. I've managed to set correct settings with AT+CGDCONT message and I can set up somekind of connection with AT+CGATT & AT+CGDATA. I get an IP address from the other end and things look to go well. But when I open browser (IE) it gives me an error that it can't make connection to server. I go to Internet Options, set connection to GPRS, try again and still not connection to server. Any ideas what goes wrong in here or am I totally missing something?
Then I tried another approach (or I don't know if this really is another approach, I'm not really familiar with GPRS). I send ATD*99# to modem (*99# is the number I'm supposed to call). Modem tells me CONNECT 57600 and gives unsoliticied result code +CREG: 1,1 (connection to home network). But after few seconds I get NO CARRIER message. Is there something I must send after CONNECT xxx part or what?
Any answers and ideas are greatly appreciated.
EDIT: I did some research and came to conclusion that I need to alter routing table. Am I right?
0 · ·