The following option selects single daughterboard use on
side A only. Otherwise, the default setting is TX on A and
Rx on B.
./configure --with-singledb
Other options are possible, as per the following enum, but
for simplicity with configure options, there are only two
choices.
enum dboardConfigType {
TXA_RXB,
TXB_RXA,
TXA_RXA,
TXB_RXB
};
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
External reference selection was already compile-time
determined by a hard coded value. Make it selectable
as a configure option.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
Usage:
./configure --with-usrp1
Enable non-UHD USRP1 support through the gnuradio-based
driver. Requires gnuradio (libusrp) to be installed.
./configure --with-resample
Enable host-based 400ksps to 270.833ksps resampling.
Only supported for UHD devices. If not enabled, the GSM
sample rate is requested directly from the device.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
M_SILENT_RULES improves readability of the messages emitted by make,
compiler warnings are easier to spot.
Available since automake-1.11, ignored on earlier versions.
Traditional verbose output can be forced by
"./configure --disable-silent-rules" or "make V=1"
Written-by: Alexander Huemer <alexander.huemer@xx.vu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
These are mostly identical changes as added to the non-52MHz
implementation with the exception of sample rate.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
* 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts: (21 commits)
Transceiver52M: Do not delete 'trx' on exit.
common libs: Implemented ISLOGGING() macro to test whether given loglevel is going to be logged.
common libs: Implemented BitVector::unhex() which reads a hex string into a BitVector.
common libs: Lower log level for "setting log path to " message.
common libs: Use gethostbyname2_r() instead of gethostbyname() if available.
control: Save IMEI in TMSI table for informational purposes.
sip: Set display name for To field in a SIP MESSAGE.
control: Use std::string in TransactionEntry to ctore messaging payload.
smqueue: Documentation fixes for sm_state enumeration in smqueue.
gsm: Add 8-bit alphabet to enumeration of GSM alphabets.
sip: More comments and minor code ordering in SIP::sip_message().
smqueue: Fix compiler warning about char* and constant strings.
Transceiver: correctly exit if USRP is not found.
Transceiver52M: Fix wrong memcpy().
Better safety checks in TMSIRecord::load().
Zero file descriptors set before use.
Remove unused variable in BitVector::hex().
Move more code out of asserts.
Don't put real code into assert().
Fix a bug with Timeval difference calculation on 64-bit Linux.
...
gethostbyname() is not thread-safe. It's recommended to use gethostbyname_r() or gethostbyname2_r() instead.
(cherry picked from commit f27e9581cdb6837f83d0aab467f0e5f83e814e7b)
Transceiver can be built with UHD by specifiying the --with-uhd
option. Fractional sample rates are not supported by the USRP2
so Transceiver52M is not built.
Otherwise, the default GNU Radio USRP1 implementation is used.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>