CallDistanceTransceiver.py: reset modem.ring_count before receiving
[SaveMySugar/python3-savemysugar.git] / src / savemysugar / Modem.py
index 073b742..5bdc411 100755 (executable)
@@ -153,7 +153,7 @@ def test(port, number):
             time_difference = time2 - time1
             print("time difference: %.2f" % time_difference)
             time1 = time.time()
-            modem.send_command("ATDT" + number)
+            modem.send_command("ATDT" + number + ";")
 
             call_setup_time = 9
             inter_call_sleep = 5