first steps towards a reconfigurable sdr source

This commit is contained in:
Jakob Ketterl
2019-05-07 17:30:30 +02:00
parent 7eaada4726
commit fa05249a9d
3 changed files with 41 additions and 24 deletions

View File

@ -121,7 +121,7 @@ class WebSocketMessageHandler(object):
if message["type"] == "config":
for key, value in message["params"].items():
# only the keys in the protected property manager can be overridden from the web
protected = pm.collect("samp_rate")
protected = pm.collect("samp_rate", "center_freq", "rf_gain")
protected[key] = value
except json.JSONDecodeError: