Permalink
Browse files

Disable Auto Power Saving

Disable Auto Power Saving when resetting the modem. This can cause several bugs with serial communication, as outlined on (https://www.sparkfun.com/products/9607)
  • Loading branch information...
alobo committed Aug 27, 2013
1 parent ac204ff commit c616b950bd144e9e4c32c337d6429d059ef12b94
Showing with 2 additions and 2 deletions.
  1. +2 −2 SerialGSM.cpp
View
@@ -58,8 +58,8 @@ void SerialGSM::DeleteAllSMS(){
}
void SerialGSM::Reset(){
Serial.println("AT+CFUN=1,1"); // Reset Modem
this->println("AT+CFUN=1,1"); // Reset Modem
Serial.println("AT+CFUN=0,1"); // Reset Modem, Disable Auto Power Saving
this->println("AT+CFUN=0,1"); // Reset Modem, Disable Auto Power Saving
delay(200);
this->ReadLine();
}

0 comments on commit c616b95

Please sign in to comment.