From 24b04129d6d0b7a1dead3c9b06a3185a17be5e30 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 3 Jan 2016 21:34:25 +0100 Subject: [PATCH] CallDistanceTransceiver.py: use a more conservative call_setup_time_max default --- plot/symbols_distances_defaults.log | 10 +++++----- src/savemysugar/CallDistanceTransceiver.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plot/symbols_distances_defaults.log b/plot/symbols_distances_defaults.log index bc28a2b..45f432e 100644 --- a/plot/symbols_distances_defaults.log +++ b/plot/symbols_distances_defaults.log @@ -1,5 +1,5 @@ -1450801238.674896 DEBUG:__init__ call setup time between 7.00 and 15.00 --------- dot transmit time: 15.00 + 5.20 receive time: between 12.20 and 28.20 -1450801238.675087 DEBUG:__init__ call setup time between 7.00 and 15.00 -------- dash transmit time: 15.00 + 21.20 receive time: between 28.20 and 44.20 -1450801238.675211 DEBUG:__init__ call setup time between 7.00 and 15.00 - signalspace transmit time: 15.00 + 37.20 receive time: between 44.20 and 60.20 -1450801238.675311 DEBUG:__init__ call setup time between 7.00 and 15.00 --- wordspace transmit time: 15.00 + 53.20 receive time: between 60.20 and 76.20 -1450801238.675409 DEBUG:__init__ call setup time between 7.00 and 15.00 --------- EOM transmit time: 15.00 + 69.20 receive time: between 76.20 and inf +1451847653.762250 DEBUG:__init__ call setup time between 7.00 and 16.50 --------- dot transmit time: 16.50 + 5.20 receive time: between 12.20 and 31.20 +1451847653.762435 DEBUG:__init__ call setup time between 7.00 and 16.50 -------- dash transmit time: 16.50 + 24.20 receive time: between 31.20 and 50.20 +1451847653.763484 DEBUG:__init__ call setup time between 7.00 and 16.50 - signalspace transmit time: 16.50 + 43.20 receive time: between 50.20 and 69.20 +1451847653.763634 DEBUG:__init__ call setup time between 7.00 and 16.50 --- wordspace transmit time: 16.50 + 62.20 receive time: between 69.20 and 88.20 +1451847653.763767 DEBUG:__init__ call setup time between 7.00 and 16.50 --------- EOM transmit time: 16.50 + 81.20 receive time: between 88.20 and inf diff --git a/src/savemysugar/CallDistanceTransceiver.py b/src/savemysugar/CallDistanceTransceiver.py index 1e378d2..9c53ba2 100755 --- a/src/savemysugar/CallDistanceTransceiver.py +++ b/src/savemysugar/CallDistanceTransceiver.py @@ -60,7 +60,7 @@ class CallDistanceTransceiver(object): """ def __init__(self, modem, - call_setup_time_min=7, call_setup_time_max=15, + call_setup_time_min=7, call_setup_time_max=16.5, ring_time_min=4.8, ring_time_max=5.2, add_inter_call_distance=True): """Encode the Morse symbols using the distance between calls. -- 2.1.4