mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-25 18:37:45 -07:00
changes baudrate to 115200
This commit is contained in:
parent
66ef9685fa
commit
0c703101a3
|
@ -14,7 +14,7 @@
|
|||
|
||||
#define GSM_RST A2
|
||||
#define GSM_RING A5
|
||||
#define GSM_BAUDRATE 4800
|
||||
#define GSM_BAUDRATE 115200
|
||||
|
||||
// Low battery light threshold
|
||||
#define CHG_VLO 3800
|
||||
|
@ -65,11 +65,9 @@ void inCall() {
|
|||
|
||||
// numpad stuff
|
||||
}
|
||||
for ( int j = 0; j < phoneNumberLength; j++) {
|
||||
phoneNumber[j] = 0;
|
||||
}
|
||||
phoneNumberLength = 0;
|
||||
clearPhoneNumber();
|
||||
startDialtone = true;
|
||||
delay(100);
|
||||
}
|
||||
|
||||
void beginCall() {
|
||||
|
@ -157,7 +155,7 @@ void loop() {
|
|||
if ( dialtoneActive ) {
|
||||
fona.sendCheckReply( F("AT+STTONE=0"), F("OK") ); // End dialtone
|
||||
dialtoneActive = false;
|
||||
delay(50);
|
||||
delay(100);
|
||||
}
|
||||
fona.playDTMF( key ); // Play DTMF tone
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user