Gang - having some success with OpenLTE - at least with LTE_fdd_dl_scan of local towers. This is a UHD app using Soapy/grosmo so discovering what antenna it was using was a mystery. Putting (hack in, in my case) a few informative statements in the source openlte_v00-20-05/LTE_fdd_dl_scan/src/LTE_fdd_dl_scan_flowgraph.cc helped, plus testing different antenna, also playing around with other ‘get’ methods:
GLOBAL VARIABLES
osmosdr::gain_range_t grange;switch(hardware_type) { case LTE_FDD_DL_SCAN_HW_TYPE_USRP_B: printf("hw type USRP_B and LimeSDR\n"); samp_src->set_sample_rate(15360000); samp_src->set_gain_mode(false); samp_src->set_gain(61); // set for max samp_src->set_bandwidth(10000000); std::cout << "Using antenna: " << samp_src->get_antenna() << std::endl; grange = samp_src->get_gain_range(); printf("gains: %f to %f, step %f\n",grange.start(),grange.stop(),grange.step()); break;
compile and run prints in the scanner window, when started:
– Using subdev spec ‘0:0 1:1’.
hw type USRP_B and LimeSDR
– RX LPF configured
Using antenna: LNAH
gains: -12.000000 to 61.000000, step 0.100000
then in the telnet control window have fun band scanning:
*** LTE FDD DL SCAN ***
Type help to see a list of commands
write band 5
info channel_found_begin freq=2130000000 dl_earfcn=2150 freq_offset=1.53009 phys_cell_id=244 sfn=454 n_ant=4 phich_dur=Normal phich_res=1/6 bandwidth=10
info channel_found_end freq=2130000000 dl_earfcn=2150 freq_offset=1.53009 phys_cell_id=244