What happen, If the TEL0051 reveive a SMS while GPS mode is enable

Good after noom.
I looking at this code
How to drive the GPS Mode via Arduino board
http://www.dfrobot.com/wiki/index.php/G ... uino_board
If you look carefully, you at the setup loop, you can see this
First GSM is enable and GPS.
The TEL0051, can receive call or SMS with GPS mode is enable?
Many thnak for your explication
Cheers
I looking at this code
How to drive the GPS Mode via Arduino board
http://www.dfrobot.com/wiki/index.php/G ... uino_board
If you look carefully, you at the setup loop, you can see this
First GSM is enable and GPS.
Code: Select all
I know it's an exemple, but what happen if the GPS mode
void setup()
{
pinMode(3,OUTPUT);//The default digital driver pins for the GSM and GPS mode
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
digitalWrite(5,HIGH);
delay(1500);
digitalWrite(5,LOW);
digitalWrite(3,LOW);//Enable GSM mode
digitalWrite(4,HIGH);//Disable GPS mode
delay(2000);
Serial.begin(9600);
delay(5000);//GPS ready
Serial.println("AT");
delay(2000);
//turn on GPS power supply
Serial.println("AT+CGPSPWR=1");
delay(1000);
//reset GPS in autonomy mode
Serial.println("AT+CGPSRST=1");
delay(1000);
digitalWrite(4,LOW);//Enable GPS mode
digitalWrite(3,HIGH);//Disable GSM mode
delay(2000);
Serial.println("$GPGGA statement information: ");
}
Code: Select all
is enabled for 1mn and an incoming SMS is receiving? digitalWrite(4,LOW);//Enable GPS mode
digitalWrite(3,HIGH);//Disable GSM mode
delay(2000);
The TEL0051, can receive call or SMS with GPS mode is enable?
Many thnak for your explication
Cheers
2014-09-10 18:40:36 Hello Pierrot,
Sorry, I haven't test whether it will be rejected or not.
I guess it won't. There is a possibility that GSM could work in GPS mode, it will store the SMS, but it won't tell you "hey! there is a new message." It is easy to test, just make a phone call to the module, when you hear a busy tone from your smart phone, means it is working now.
I am Sorry, for now I haven't a normal GSM card. I will try to get one.
And not all AT command need to be inputted in the GSM mode, just some setting command,
Grey.CC
Sorry, I haven't test whether it will be rejected or not.
I guess it won't. There is a possibility that GSM could work in GPS mode, it will store the SMS, but it won't tell you "hey! there is a new message." It is easy to test, just make a phone call to the module, when you hear a busy tone from your smart phone, means it is working now.
I am Sorry, for now I haven't a normal GSM card. I will try to get one.
And not all AT command need to be inputted in the GSM mode, just some setting command,

2014-09-10 11:24:34 Dear Grey,
Thank for your help. It's nive from you.
So in resumé, if I understood.
While I switch the module to gps mode, no sms can be receive and if someone call the module, the module will not answer until it's turn to gsm mode. That correct.
I suppose if the module receive a SMS while it is in GPS mode, the SMS will be rejeted?
Or will it be received later like if we switch on a smartphone?
Any any AT command should be sent in gsm mode.
Then what happen if I want to know the GPS status with
(I have not check you exemple code, to see how you do it)
pierrot10
Thank for your help. It's nive from you.
So in resumé, if I understood.
While I switch the module to gps mode, no sms can be receive and if someone call the module, the module will not answer until it's turn to gsm mode. That correct.
I suppose if the module receive a SMS while it is in GPS mode, the SMS will be rejeted?
Or will it be received later like if we switch on a smartphone?
Any any AT command should be sent in gsm mode.
Then what happen if I want to know the GPS status with
Code: Select all
Should I be in gsm mode?Serial.println("AT+CGPSSTATUS?");
(I have not check you exemple code, to see how you do it)

2014-09-09 18:23:50 Hello Pierrot,
Because the "AT Command" need to be inputted in the GSM mode.
I am afraid GSM function won't work under GPS mode, these two functions are selected via the EN_PIN (Driver Pin: D3&D4).
But you can make a phone call or send a SMS by switching two modes. Like what the last code does, to send a SMS containing GPS information.
Grey.CC
Because the "AT Command" need to be inputted in the GSM mode.
I am afraid GSM function won't work under GPS mode, these two functions are selected via the EN_PIN (Driver Pin: D3&D4).
But you can make a phone call or send a SMS by switching two modes. Like what the last code does, to send a SMS containing GPS information.
