Dmitry Sharshakov
4867d84b1e
host: change UHD pointer types based on UHD version
...
Follow-up: 58b4d869d4
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
dbbedb55b3
usrp_cal_utils: compatibility with UHD3
...
Follow-up: 98bd84035b
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
966d38e710
host: fix Boost warnings due to global placeholders
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
bac43dcb6c
host: remove unused variables and functions
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
1be7c63ac2
host: use std::shared_ptr for UHD objects
...
UHD 4 moved to C++11 smart pointers instead of Boost ones. Follow this to allow building with UHD 4. This change is limited to symbols interacting with libuhd.
Ref: 1fe98e8701
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
845b9029df
host: add missing includes for BOOST_FOREACH
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
ce07ca65ff
umtrx_impl: remove header deprecated in UHD 4
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
c59bb6d776
usrp_cal_utils: use UHD 4 calibration data path
...
UHD 4 removed get_app_path, replace it with designated calibration data directory.
This change will require users to move calibration blobs to new location for UHD 4 or recalibrate.
Reference: 1383fde345
2023-11-26 22:50:28 +02:00
Clément BRUGUERA
9f0bf718e2
Fix compilation error against libboost 1.67
2019-11-01 00:23:23 +03:00
Alexander Chemeris
9797c410e3
Do not rely on N200 EEPROM code.
...
New UHD versions removed device-specific code from public headers, so
we've copied relevant code into our own codebase.
Also renamed N100 to N200 to follow the main UHD codebase naming.
2019-10-31 19:22:50 +03:00
Alexander Chemeris
c87ac1ba32
Detect uhd/utils/thread_priority.hpp deprecation
2019-10-31 19:22:50 +03:00
Alexander Chemeris
48ad4cd890
Don't include uhd/utils/atomic.hpp - we disabled threading here long time ago
2019-10-31 19:22:50 +03:00
Alexander Chemeris
828c811f79
Fix uhd/utils/msg.hpp missing in newer UHD
2019-10-31 19:22:50 +03:00
Kirill Zakharenko
2fa07d28d6
umtrx_monitor: bind to localhost instead of 0.0.0.0
2019-07-15 18:03:13 +03:00
Kirill Zakharenko
fab18d97a2
umtrx_auto_calibration: save result files to /var/lib/umtrx by default
2019-07-05 15:13:26 +03:00
Kirill Zakharenko
61ac2ee278
umtrx_cal_*: fix for abrupt termination
...
tx_thread creates a child thread, which it join()s on, when terminating
calling interrupt() on tx_thread interferes with the join()
so we replace interrupt() with an atomic flag
(not sure how this worked before)
2019-07-03 21:17:31 +03:00
Kirill Zakharenko
91185de06a
util: install python utils directly into /usr/bin
2019-07-03 21:17:30 +03:00
Kirill Zakharenko
b81240db26
utils: remove collectd integration, it belongs in another package
2019-07-03 21:17:30 +03:00
Pau Espin Pedrol
132f8995ec
umtrx_monitor.cpp: Fix compilation against newer boost
...
Related: github issue #22
2018-04-21 15:23:42 +02:00
Alexander Chemeris
1421327cfe
host: Python 2 compatibility for umtrx_property_tree.py
...
bytes(u'something', 'utf-8') is only available in Python 3. A backwards
compatible version of it is u'something'.encode('utf-8').
2017-08-14 23:46:06 +03:00
Alexander Chemeris
1e0c879f53
utils: s/USRP/UmTRX/g in console output of umtrx_net_burner.py
2017-08-08 21:34:51 +03:00
Alexander Chemeris
4bba18b1cf
host: Fix build.
2017-08-04 18:44:55 +03:00
Alexander Chemeris
8678899b70
host: Do not set TCXO DAC value on UHD library init - it's now read from EEPROM by ZPU.
2017-08-04 15:46:24 +03:00
Alexander Chemeris
20b2a2f322
host: Send out only UmTRX ID request on startup, limit compatibility number.
...
Previously we were sending out USRP control ID request, which is wrong, because
we're only interested in UmTRX.
Also lets use our proper compatibility number in the first message to reduce
error output on the UmTRX (it would complain about a compatibility number
mismatch otherwise). And we're now rejecting old compatibility numbers - we
don't maintain backward compatibility.
2017-07-27 13:42:12 +03:00
Alexander Chemeris
88df605601
host: Refer to UmTRX instead of USRP-N in an error message.
2017-07-27 13:41:35 +03:00
Alexander Chemeris
f4f02a51c0
zpu: Get basi GPSDO information and en/dis debug over the control socket.
2017-07-27 01:18:28 +03:00
Alexander Chemeris
cc70a46fe4
host: Export DC calibration registers through the property tree.
2017-07-26 21:56:17 +03:00
Alexander Chemeris
0bf55bbca2
umtrx_property_tree: Various fixes for rarely used methods.
2017-07-26 21:49:01 +03:00
Josh Blum
a59b9c381a
host: fix include with newer uhd
...
Added explicit include of #include <boost/cstdint.hpp>
The uhd header wb_iface.hpp has moved from boost cstdint
to regular stdint.h and thus is lacking the boost include.
2017-01-17 22:55:35 -08:00
Kirill Zakharenko
ce44a4ce47
umtrx2collectd: lowercase sensor names
...
it was done in nsq2collectd before, but this here is a proper place for it
2016-12-05 07:20:36 +03:00
Alexander Chemeris
4386d5938d
host: Add support for complex values in the status monitor.
2016-11-16 15:56:45 -08:00
Kirill Zakharenko
204a7862d8
cmake: make Boost a required library
2016-10-22 16:17:17 +05:30
Josh Blum
19c125a8ef
uhd v3.10.0 compatibility
2016-08-13 12:20:42 -07:00
Kirill Zakharenko
41a94769fe
collectd: use 'fairwaves-monitoring' user to run plugin
2016-03-27 18:36:25 +02:00
Kirill Zakharenko
014e8123a3
collectd: rewritten collection script
...
* no longer conflicts over 'temperature' type with default types.db
* auto-adapts to any new or missing sensors
* simple! (e.g. doesn't read voltages twice)
2016-03-21 19:06:45 +01:00
Kirill Zakharenko
9cf7377866
collectd: plugin to collect umtrx sensors
2016-02-26 17:52:07 +03:00
Kirill Zakharenko
b24a4d0bb8
Merge branch 'earwin/pythonpack'
2015-12-28 15:05:57 +03:00
Kirill Zakharenko
25394541fa
debian: packaged python utils in host/utils
2015-12-28 15:01:29 +03:00
Sergey Kostanbaev
b362710778
throw exception if incorrect DCDC version were provided
2015-12-25 20:47:12 +03:00
Sergey Kostanbaev
c9b7e8c884
turn off vin bypass to amplifiers by default
2015-12-24 21:08:38 +03:00
Sergey Kostanbaev
e7eb8e87cc
add lmsvga2 args parameter to override UMTRX_VGA2_DEF
2015-12-24 21:04:07 +03:00
Sergey Kostanbaev
2a6b94bea9
autodetect DCDC translation version on startup
2015-12-24 19:34:07 +02:00
Sergey Kostanbaev
143a9008d1
add lmsvga1 device args parameter to override VGA1_DEF
2015-12-24 18:16:09 +03:00
Sergey Kostanbaev
1e1a889448
Merge branch 'umsel2_work'
2015-12-24 18:14:07 +03:00
Josh Blum
f385a4355a
umsel: device args for enabling umsel2 and verbose
2015-12-21 15:12:23 -08:00
Alexander Chemeris
3c240a2ab2
host: Checking in umtrx_query_versions.py
2015-12-21 13:57:06 -05:00
Alexander Chemeris
e4c59df63e
host: Add string getters/setters to the Python property tree library.
2015-12-21 13:57:06 -05:00
Alexander Chemeris
ad8ff4a345
host: Add "STRING" to umtrx_monitor error output.
2015-12-21 12:44:24 -05:00
Alexander Chemeris
4f909bcfa2
host: Properly handle most corner cases in VSWR calculations.
2015-12-21 12:32:28 -05:00
Josh Blum
6b5ff4a460
host: make boost property tree thread safe
2015-12-17 23:14:39 -08:00