SIM548C GPRS Activition
Discussion in "Embedded GSM Development" started by sakibnaz Apr 19, 2009.
Sun Apr 19 2009, 04:43 am
Hello all . . .
1st of all I am sorry to everyone that I am going to post on a problem regarding GPRS activation on my SIM548C cause its a previously discussed topic :-(
But by reading all the posts I can not get rid of my problem so that I am posting the same issue again . . .
Actually I want to send some data to a server over GPRS.
I have tested the command:
AT+CIPSTART="TCP","202.148.56.107","500",
but it results me:
OK
CONNECT FAIL // after around 60 sec
STATE: IP IND // after around 60 sec
I have also tried some other commands which are presented below with their responses:
AT+CIPSTATUS
OK
STATE: IP INITIAL
AT+CSTT?
+CSTT: "cmnet","",""
OK
AT+CSTT="gpinternet","",""
OK
AT+CIICR?
OK
AT+CIICR
ERROR
AT+CGATT=?
+CGATT: (0-1)
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 107
So please I need suggestion . . .
Regards.
Sakibnaz
1st of all I am sorry to everyone that I am going to post on a problem regarding GPRS activation on my SIM548C cause its a previously discussed topic :-(
But by reading all the posts I can not get rid of my problem so that I am posting the same issue again . . .
Actually I want to send some data to a server over GPRS.
I have tested the command:
AT+CIPSTART="TCP","202.148.56.107","500",
but it results me:
OK
CONNECT FAIL // after around 60 sec
STATE: IP IND // after around 60 sec
I have also tried some other commands which are presented below with their responses:
AT+CIPSTATUS
OK
STATE: IP INITIAL
AT+CSTT?
+CSTT: "cmnet","",""
OK
AT+CSTT="gpinternet","",""
OK
AT+CIICR?
OK
AT+CIICR
ERROR
AT+CGATT=?
+CGATT: (0-1)
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 107
So please I need suggestion . . .
Regards.
Sakibnaz
[ Edited Mon Apr 20 2009, 01:07 am ]
Sun Apr 19 2009, 12:59 pm
AT+CIPSTART="TCP","202.148.56.107","500",sakibnaz
You seem to have an extra trailing comma.
Does the status change if you wait a while.. say 60 seconds ?
Is "202.148.56.107" port 500 running server software and not behind a firewall ?
Mon Apr 20 2009, 01:00 am
Sorry Experimenter UK.
Mistakenly I wrote an extra comma at the post.
And yes after around 60 sec the module returns
CONNECT FAIL
STATE: IP IND
Also from the SIM operator I knew that the APN will be "gpinternet"
So I have tested the followings also . . .
AT+CSTT="gpinternet","",""
OK
AT+CIICR
ERROR
AT+CIFSR
ERROR
AT+CIPSTART="TCP","202.148.56.107","8080"
ERROR
Note: After setting the APN "gpinternet" I am getting error insted of "STATE: IP IND"
Plz could u guy's suggest me some AT Commands for GPRS activation. . .
Sakibnaz.
Mistakenly I wrote an extra comma at the post.
And yes after around 60 sec the module returns
CONNECT FAIL
STATE: IP IND
Also from the SIM operator I knew that the APN will be "gpinternet"
So I have tested the followings also . . .
AT+CSTT="gpinternet","",""
OK
AT+CIICR
ERROR
AT+CIFSR
ERROR
AT+CIPSTART="TCP","202.148.56.107","8080"
ERROR
Note: After setting the APN "gpinternet" I am getting error insted of "STATE: IP IND"
Plz could u guy's suggest me some AT Commands for GPRS activation. . .
Sakibnaz.
[ Edited Mon Apr 20 2009, 01:04 am ]
Mon Apr 20 2009, 01:51 pm
if the the network answer is
AT+CGATT?
+CGATT: 0
OK
you can't do anything it must be equal to 1
AT+CGATT?
+CGATT: 0
OK
you can't do anything it must be equal to 1
Mon Apr 20 2009, 02:14 pm
Dear Sakib,
I am sorry for late reply..
to check availablilty of your GPRS first
AT+CGREG=1;&w then enter
AT+CGDCONT=1,"IP","yourAPN" then enter
AT+CGATT=1 enter
then automatically you should be able to see +CGREG: 1
that means your GPRS is activated. but then also you can confirm it 100% by putting your SIM into mobile or modem and accessing Internet through it. if it is getting connectd to internet then your device must work. Since there are 2 types of GPRS 1) is like WAP (Internet is only possible to acess inside mobile) and 2) is Internet GPRS for PC. (internet can be acess in PC through Mobile... Please post your feedback.
I am sorry for late reply..
to check availablilty of your GPRS first
AT+CGREG=1;&w then enter
AT+CGDCONT=1,"IP","yourAPN" then enter
AT+CGATT=1 enter
then automatically you should be able to see +CGREG: 1
that means your GPRS is activated. but then also you can confirm it 100% by putting your SIM into mobile or modem and accessing Internet through it. if it is getting connectd to internet then your device must work. Since there are 2 types of GPRS 1) is like WAP (Internet is only possible to acess inside mobile) and 2) is Internet GPRS for PC. (internet can be acess in PC through Mobile... Please post your feedback.
Wed Apr 22 2009, 02:24 am
Hi all.
Its done. I have activated GPRS at my SIM548C module. the problem was due to missing of some commands.
After executing the following commands i can active the GPRS:
AT+CSTT="gpinternet","",""
OK
AT+CIICR
OK
AT+CIFSR
10.130.4.76
AT+CIPSTART="TCP","67.18.89.167","8080"
OK
CONNECT OK
AT+CIPSEND
> TEST
SEND OK
CLOSED
AT+CIPSHUT
SHUT OK
Thanks all you for ur cooepration. Thanks Mejdi & Nayak for ur reply.
And at last I would like to thank Temo. actually he made this success.
Regards.
Sakibnaz
Its done. I have activated GPRS at my SIM548C module. the problem was due to missing of some commands.
After executing the following commands i can active the GPRS:
AT+CSTT="gpinternet","",""
OK
AT+CIICR
OK
AT+CIFSR
10.130.4.76
AT+CIPSTART="TCP","67.18.89.167","8080"
OK
CONNECT OK
AT+CIPSEND
> TEST
SEND OK
CLOSED
AT+CIPSHUT
SHUT OK
Thanks all you for ur cooepration. Thanks Mejdi & Nayak for ur reply.
And at last I would like to thank Temo. actually he made this success.
Regards.
Sakibnaz
Powered by e107 Forum System