diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2021-06-24 12:53:40 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-06-24 13:52:15 -0500 |
commit | 19f55a9d4a61d6852daf4a5f827e231ffe8e51bb (patch) | |
tree | 6b7bee54f544755383a9e7479a2a4e9666b95780 | |
parent | 8708164ac80763c473c11f95dbf79c16f8d5adf1 (diff) | |
download | uhd-19f55a9d4a61d6852daf4a5f827e231ffe8e51bb.tar.gz uhd-19f55a9d4a61d6852daf4a5f827e231ffe8e51bb.tar.bz2 uhd-19f55a9d4a61d6852daf4a5f827e231ffe8e51bb.zip |
mpm: Bump MPM compat version to 4.0
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.cpp | 2 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.cpp b/host/lib/usrp/mpmd/mpmd_impl.cpp index f02e7795c..50ccbb21b 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.cpp +++ b/host/lib/usrp/mpmd/mpmd_impl.cpp @@ -31,7 +31,7 @@ namespace { //! Most pessimistic time for a CHDR query to go to device and back const double MPMD_CHDR_MAX_RTT = 0.02; //! MPM Compatibility number {MAJOR, MINOR} -const std::vector<size_t> MPM_COMPAT_NUM = {3, 0}; +const std::vector<size_t> MPM_COMPAT_NUM = {4, 0}; /************************************************************************* * Helper functions diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index 63302b23f..37469a4a7 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 = (3, 0) +MPM_COMPAT_NUM = (4, 0) def no_claim(func): " Decorator for functions that require no token check " |