What happen, If the TEL0051 reveive a SMS while GPS mode is enable
pierrot10 2014-09-09 04:45:01 2867 Views3 Replies Good after noom.
I looking at this code
How to drive the GPS Mode via Arduino board
https://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 allvoid 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: "); }
I know it's an exemple, but what happen if the GPS mode
Code: Select all digitalWrite(4,LOW);//Enable GPS mode digitalWrite(3,HIGH);//Disable GSM mode delay(2000);
is enabled for 1mn and an incoming SMS is receiving?
The TEL0051, can receive call or SMS with GPS mode is enable?
Many thnak for your explication
Cheers
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 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
Serial.println("AT+CGPSSTATUS?");
(I have not check you exemple code, to see how you do it)
pierrot10 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 
