This should work:

- Provide a common clock and time reference to the B210s (e.g., using an
Octoclock, but any other reference might work through a 2-way splitter).
- Set your devices to the same time as part of your app initialization.
You will need to write custom code for this, basically, you need
reimplement this algorithm across two USRPs:
https://github.com/EttusResearch/uhddev/blob/a2b3955e99df426826b922f3bfab41b18324aad0/host/lib/usrp/multi_usrp.cpp#L548-L581

- Now you can use timed samples on both transmitters.


-- M

On 02/02/2018 08:43 AM, sumit kumar wrote:
> Hi, 
> 
> I want to create a deterministic collision scenario between wifi and
> zigbee. I am using gr-ieee 80211 and gr-ieee 802154 along with USRP B210.
> 
> I have a constraint that my wifi preambles should always collide with an
> ongoing zigbee transmission. 
> 
> In order to do that, I am thinking of synchronizing the wifi transmitter
> and zigbee transmitter (both connected in the same laptop) in such a way
> that wifi transmits its frame only when zigbee transmission is ongoing. 
> 
> Is there any way that zigbee transmitter triggers the wifi transmitter
> whenever a zigbee frame is transmitted. 
> 
> Air time of zigbee is very high compared to wifi, so I am sure if zigbee
> transmitter triggers wifi transmitter, wifi preambles will collide with
> zigbee for sure. 
> 
> Both wifi transmitter and zigbee transmitter are connected to the same
> laptop and using different USRP B210. 
> 
> I am not sure if the solution lies in gnuradio or uhd hence posting at
> both places :) 
> 
> Regards
> Sumit 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to