diff --git a/gqrxHandler.py b/gqrxHandler.py index d5142d5..ee2c9bd 100644 --- a/gqrxHandler.py +++ b/gqrxHandler.py @@ -18,21 +18,18 @@ class GQRXHandler(): tel_conn = self.create_telnet_connection() print(f"Changing freq to {freq}") tel_conn.write(bytes(f"F {int(freq)}", 'utf-8')) - tel_conn.read_all() tel_conn.close() def change_squelch(self, squelch): tel_conn = self.create_telnet_connection() print(f"Changing squelch to {squelch}") tel_conn.write(bytes(f"L SQL {float(squelch)}", 'utf-8')) - tel_conn.read_all() tel_conn.close() def change_mode(self, mode): tel_conn = self.create_telnet_connection() print(f"Changing mode to {mode}") tel_conn.write(bytes(f"M {str(mode)}", 'utf-8')) - tel_conn.read_all() tel_conn.close() def set_all_settings(self, mode, squelch, freq):