mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-26 10:57:36 -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_RST A2
|
||||||
#define GSM_RING A5
|
#define GSM_RING A5
|
||||||
#define GSM_BAUDRATE 4800
|
#define GSM_BAUDRATE 115200
|
||||||
|
|
||||||
// Low battery light threshold
|
// Low battery light threshold
|
||||||
#define CHG_VLO 3800
|
#define CHG_VLO 3800
|
||||||
|
@ -65,11 +65,9 @@ void inCall() {
|
||||||
|
|
||||||
// numpad stuff
|
// numpad stuff
|
||||||
}
|
}
|
||||||
for ( int j = 0; j < phoneNumberLength; j++) {
|
clearPhoneNumber();
|
||||||
phoneNumber[j] = 0;
|
|
||||||
}
|
|
||||||
phoneNumberLength = 0;
|
|
||||||
startDialtone = true;
|
startDialtone = true;
|
||||||
|
delay(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
void beginCall() {
|
void beginCall() {
|
||||||
|
@ -157,7 +155,7 @@ void loop() {
|
||||||
if ( dialtoneActive ) {
|
if ( dialtoneActive ) {
|
||||||
fona.sendCheckReply( F("AT+STTONE=0"), F("OK") ); // End dialtone
|
fona.sendCheckReply( F("AT+STTONE=0"), F("OK") ); // End dialtone
|
||||||
dialtoneActive = false;
|
dialtoneActive = false;
|
||||||
delay(50);
|
delay(100);
|
||||||
}
|
}
|
||||||
fona.playDTMF( key ); // Play DTMF tone
|
fona.playDTMF( key ); // Play DTMF tone
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user