[srslte-users] LimeSDR/SoapySDR List Antenna change in source code

Sandi Suhendro djks74 at gmail.com
Sun Nov 18 12:19:18 UTC 2018


Dear Andre,
it may work with ue.conf, for make ue, but I need to set srsenb to LNAL.

example on enb.conf:
[rf]
dl_earfcn = 1600
tx_gain = 80
rx_gain = 40

#device_name = soapy
#device_args = "rxant=LNAL,txant=BAND1"

its not work!

please advise.

DUO / Sandi

On Sun, Nov 18, 2018 at 4:28 PM Andre Puschmann <
andre.puschmann at softwareradiosystems.com> wrote:

> Hey,
>
> you can control the antenna setting through the device arguments. For
> example, to use the LimeSDR in the higher frequency bands, put
> "device_args = rxant=LNAH,txant=BAND2" in your ue.conf.
>
> Hope that helps.
>
> Thanks
> Andre
>
>
> On 17/11/18 14:25, Sandi Suhendro wrote:
> > Dear list,
> > anyone know where the LNAL, LNAW, LNAH setting?
> > I looked up to the source code in purpose to change setting from LNAH to
> > LNAL, but cannot find it.
> >
> > I found only SoapySDR_TRX 0 but not see anything with LNA setting.
> > as here:
> >
> >     // rx antenna
> >     const char rx_ant_arg[] = "rxant=";
> >     char rx_ant_str[64] = {0};
> >     char *rx_ant_ptr = strstr(args, rx_ant_arg);
> >     if (rx_ant_ptr) {
> >       copy_subdev_string(rx_ant_str, rx_ant_ptr + strlen(rx_ant_arg));
> >       printf("Setting Rx antenna to %s\n", rx_ant_str);
> >       if (SoapySDRDevice_setAntenna(handler->device, SOAPY_SDR_RX, 0,
> > rx_ant_str) != 0) {
> >         fprintf(stderr, "Failed to set Rx antenna.\n");
> >       }
> >
> > Maybe I miss when looking or readng the code include to other folders?
> >
> > please help me if anyone know! Thanks :-)
> >
> > --
> > Best Regards,
> > Sandi
> >
> >
> > _______________________________________________
> > srslte-users mailing list
> > srslte-users at lists.softwareradiosystems.com
> > http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> >
>
>

-- 
Best Regards,
Sandi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20181118/c964471f/attachment.htm>


More information about the srsran-users mailing list