[srslte-users] srslte_rf_recv_with_time Implementaion
Ismael Gomez
ismael.gomez at softwareradiosystems.com
Sat Dec 10 16:41:08 UTC 2016
Hi Jerome,
The function you are looking for is in lib/rf/rf_imp.c which
calls rf_uhd_recv_with_time in lib/rf/rf_uhd_imp.c
regards,
Ismael
On Sat, 10 Dec 2016 at 16:47 Jerome Arokkiam <jerom2005raj at gmail.com> wrote:
> Hi, I am pretty sure this is a very basic question. But between this
> group and the uhd group, I feel this group is more suitable to ask the
> question.
>
> So I see that the above function receives the radio signals within the
> USRP. As I track down, the function implementation is given in file
> lib/rf/rf_impl.c as below.
>
>
>
>
>
>
>
>
>
> *int srslte_rf_recv_with_time(srslte_rf_t *rf, void
> *data, uint32_t nsamples, bool
> blocking, time_t *secs, double
> *frac_secs){return ((rf_dev_t*)
> rf->dev)->srslte_rf_recv_with_time(rf->handler, data, nsamples, blocking,
> secs, frac_secs);}*
>
> which (I assume) calls the below function (definition only) from
> lib/rf/rf_dev.h
>
>
> *int (*srslte_rf_recv_with_time)(void *h, void *data, uint32_t
> nsamples,bool blocking, time_t *secs,double *frac_secs);*
>
> However, I do not see the implementation of the final function anywhere
> withing the header. Neither is a .c file given for the implementation.
> Should I keep tracking this (how?) to the uhd drivers or is an
> implementation of the final function given in srsLTE?
>
> Thanks for the patience.
>
> Jerome
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20161210/5393eda3/attachment.htm>
More information about the srsran-users
mailing list