| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The 'ant_direction_' key getters have been reappropriated for wider
use, changing to general 'direction_' and a few minor simplifications.
Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
9cdfe5141a exposed a bug in gr-uhd: The filter API was incorrectly
implemented for UHD (multi_usrp had an API change in UHD 4.0).
This is an API change, b/c the existing gr-uhd code was actually never
compatible to UHD 4.0's filter API.
The change is to adapt gr-uhd's filter API to that in UHD.
Signed-off-by: Martin Braun <martin.braun@ettus.com>
|
|
|
|
| |
Signed-off-by: karel <5636152+karel@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It implements the ability to control frequency and gain in both
directions (Tx and Rx) with use of a single UHD source or sink - in the
same moment. It is possible to do that in separate moments with current
UHD blocks but this way it is not possible to change both Rx and Tx
settings for the same burst. Now, a single message can do that.
Note that there is a bit of an oddity here: The GNU Radio USRP blocks
are either Rx or Tx (source or sink). However, they all encapsulate an
underlying multi_usrp object. That means that under the hood, a USRP
source or a USRP sink potentially has access to the "other" direction.
This is made use in this patch.
To use this feature, add a direction key to the message dictionary going
to the block.
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Huang Rui <vowstar@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UHD 4.0 is introducing a power reference level API, which will now
become available in GNU Radio. Its availability is conditionally
compiled into GNU Radio based on whether or not the feature is available
in the UHD version GNU Radio was compiled against.
USRP source and sink blocks receive the following new APIs:
- has_power_reference()
- set_power_reference()
- get_power_reference()
The command interface now understands a new `power_dbm` dictionary key.
The GRC bindings can now switch between absolute gain, normalized gain,
and absolute power settings.
If GNU Radio was compiled against an older version of UHD (prior to UHD
4.0) which doesn't have this API, an error or warning is printed, the
has_power_reference() will return false, and the others will throw an
exception.
|
|
|
|
|
|
|
|
|
|
|
| |
- Move get_usrp_info() to usrp_block
- Casts the return value to std::map so PyBind11 can turn it into
a dictionary in Python
This fixes an issue where get_usrp_info() would cause an Exception with
PyBind11.
Co-authored-by: Martin Braun <martin.braun@ettus.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uhd python bindings were missing a couple of functions.
1. `uhd.ALL_MBOARDS` was not defined.
2. `uhd.streams_args` was incomplete.
Instead of import magic, we define a pybind constructor which supports
all cases. This should ease the maintainance burden as well.
Be aware: some notes that `this file was generated with bindtool` were
removed because this files contain manual edits. The foundations were
probably generated with bindtool once.
|
|
|