Maybe I have misunderstanding on tdma_engine. Does it only handle the
incoming samples from the usrp source, which means rx samples? I really
want to figure out how the tdma transmitter works.


On Mon, Feb 4, 2013 at 9:45 AM, Josh Blum <[email protected]> wrote:

>
>
> On 02/04/2013 01:32 AM, Alex Zhang wrote:
> > Previously, the pre-cog introduced a simple implementation of TDMA:
> > http://gnuradio.4.n7.nabble.com/Introduction-to-Pre-Cog-td37906.html
> >
> > I read roughly the code in the tdma_engine.py.
> > For the transmitter, it seems that this tdma_engine works like a throttle
> > to send the messages to the downstreams only when the time_update is
>  later
> > than the time_transmit_start.
> > And these time are computed based on the tags in the incoming items
> > inserted by upstream block.
> > My question is that, where does the upstream block get the correct time?
> I
> > know that the usrp_sink can get_time_now but it is on the very
> downstream,
> > and it is different block which means different thread.
> >
> > If my question is not clear, please give your comments.
>
>
> time indication should be coming from the usrp source block. the rx
> samples are timestamped, which allows the engine to line up with a time
> slot
>
> -josh
>
> >
> > Thanks.
> >
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



-- 

Alex,
*Dreams can come true – just believe.*
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to