[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How the upstream block of TDMA engine get the cur
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] How the upstream block of TDMA engine get the current time of the network |
Date: |
Mon, 04 Feb 2013 09:45:27 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>