projects
/
SaveMySugar
/
python3-savemysugar.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resume command mode after dialing, always
[SaveMySugar/python3-savemysugar.git]
/
src
/
measure_call_setup_time.py
diff --git
a/src/measure_call_setup_time.py
b/src/measure_call_setup_time.py
index
6268145
..
4de937c
100755
(executable)
--- a/
src/measure_call_setup_time.py
+++ b/
src/measure_call_setup_time.py
@@
-49,7
+49,7
@@
def measure_call_setup_time(ingoing_port, outgoing_port, destination_number):
for i in range(5):
print()
print("Attempt: %s" % (i + 1))
for i in range(5):
print()
print("Attempt: %s" % (i + 1))
- outgoing_modem.send_command("ATDT" + destination_number)
+ outgoing_modem.send_command("ATDT" + destination_number
+ ";"
)
dial_time = time.time()
# Wait for the receiver to get a ring before terminating the call
dial_time = time.time()
# Wait for the receiver to get a ring before terminating the call