Bugfix: Working on SDR RX
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user