aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/magnesium.py9
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py2
2 files changed, 10 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py
index d5cc525dc..1ffbc6f16 100644
--- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py
+++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py
@@ -493,6 +493,15 @@ class Magnesium(BfrfsEEPROM, DboardManagerBase):
self._reinit(self.master_clock_rate)
return bw
+ def set_fir(self, name, gain, coeffs):
+ self.log.debug("ad9371 set_fir name: {} gain: {} coeffs: {}".format(name, gain, coeffs))
+ self.mykonos.set_fir(name, gain, coeffs)
+ return
+
+ def get_fir(self, name):
+ self.log.debug("ad9371 get_fir name: {}".format(name))
+ return self.mykonos.get_fir(name)
+
##########################################################################
# Debug
##########################################################################
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py
index 78b76ab19..c0779ab77 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -32,7 +32,7 @@ from usrp_mpm.sys_utils import net
TIMEOUT_INTERVAL = 5.0 # Seconds before claim expires (default value)
TOKEN_LEN = 16 # Length of the token string
# Compatibility number for MPM
-MPM_COMPAT_NUM = (4, 1)
+MPM_COMPAT_NUM = (4, 2)
def no_claim(func):
" Decorator for functions that require no token check "