I had to rebuild libosmocore to get the new VTY port define.
Excellent - just use the example cfg file - which has these nice explicit items:
chan 0
tx-path BAND1
rx-path LNAW
with either:
osmo-trx -C <path to>/osmo-trx/doc/examples/osmo-trx-limesdr.cfg
or put it in your local directory and rename or link to: osmo-trx.cfg
Once you get this layer up and running you will be ready for the osmo-nitb and osmo-bts-trx depending on what has changed there. I’ll try the full upgrade tonight. They ARE in the process of breaking the handy nitb network in the box up into separate entities. Every entity will need it’s own cfg file setup so they can find each other.
I’m using a symlink : /root/osmocom_cfg1/osmo-trx.cfg -> osmo-trx-limesdr.cfg
root@DellOptiPlex9010:~/osmocom_cfg1# osmo-trx
linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.010.003.000-0-gef157678
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
Tue Apr 10 11:12:17 2018 DLGLOBAL <0001> telnet_interface.c:104 telnet at 127.0.0.1 4237
Tue Apr 10 11:12:17 2018 DLCTRL <0008> control_if.c:863 CTRL at 127.0.0.1 4236
Config Settings
Log Level............... 3
Device args.............
TRX Base Port........... 5700
TRX Address............. 127.0.0.1
GSM Core Address.........127.0.0.1
Channels................ 1
Tx Samples-per-Symbol... 4
Rx Samples-per-Symbol... 4
EDGE support............ 0
Reference............... 0
C0 Filler Table......... 1
Multi-Carrier........... 0
Tuning offset........... 0
RSSI to dBm offset...... 0
Swap channels........... 0
Tx Antennas............. 'BAND1'
Rx Antennas............. 'LNAW'
Tue Apr 10 11:12:18 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Using discovered UHD device addr=1d50:6108,driver=lime,label=LimeSDR-USB [USB 3.0] 9060B00471F23,media=USB 3.0,module=FX3,name=LimeSDR-USB,serial=0009060B00471F23,type=soapy
-- Make connection: 'LimeSDR-USB [USB 3.0] 9060B00471F23'
-- Reference clock 30.72 MHz
-- Device name: LimeSDR-USB
-- Reference: 3.072e+07 MHz
-- LMS7002M calibration values caching Disable
Tue Apr 10 11:12:19 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Antennas configured successfully
Tue Apr 10 11:12:19 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Rates configured for LimeSDR 4 SPS
-- Filter calibrated. Filter order-4th, filter bandwidth set to 5 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
-- TX LPF configured
-- RX LPF configured
Tue Apr 10 11:12:20 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Supported Tx gain range [-12; 64]
Tue Apr 10 11:12:20 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Supported Rx gain range [-12; 61]
Tue Apr 10 11:12:20 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Default setting Tx gain for channel 0 to 26
Tue Apr 10 11:12:20 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648] Default setting Rx gain for channel 0 to 24.5
Tue Apr 10 11:12:20 2018 DMAIN <0000> Logger.cpp:53 [tid=139624975267648]
Single USRP:
Device: FX3
Mboard 0: LimeSDR-USB
RX Channel: 0
RX DSP: 0
RX Dboard: 0
RX Subdev: SoapyRF
RX Channel: 1
RX DSP: 1
RX Dboard: 1
RX Subdev: SoapyRF
TX Channel: 0
TX DSP: 0
TX Dboard: 0
TX Subdev: SoapyRF
TX Channel: 1
TX DSP: 1
TX Dboard: 1
TX Subdev: SoapyRF
-- Transceiver active with 1 channel(s)
Now you can telnet to the port 4237 and manage it Cisco style including writing changes back to the cfg file.
# telnet 0 4237
OsmoTRX> show trx
TRX Config:
Local IP: 127.0.0.1
Remote IP: 127.0.0.1
TRX Base Port: 5700
Device args: (null)
Tx Samples-per-Symbol: 4
Rx Samples-per-Symbol: 4
Test Mode: TSC: 0 (Disabled)
Test Mode: RACH Delay: 0 (Disabled)
C0 Filler Table: Disabled
Clock Reference: internal
Multi-Carrier: Disabled
Tuning offset: 0.000000
RSSI to dBm offset: 0.000000
Swap channels: Disabled
EDGE support: Disabled
Real Time Priority: 0 (Disabled)
Channels: 1
Channel 0:
Rx Path: LNAW
Tx Path: BAND1