[srslte-users] srslte_rf_recv_with_time Implementaion

Jerome Arokkiam jerom2005raj at gmail.com
Sat Dec 10 15:22:50 UTC 2016


 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20161210/4e8241dc/attachment.htm>


More information about the srsran-users mailing list