Hi Zenghao,
Thank you for your reply. I have few more queries regarding the carrier
sense module in probe_avg_mag_sqrd_c.cc file. It looks like to find the
presence of carrier in air, there is a variable d_unmuted, which is being
checked. This variable is set whenever pre_output_iir variable is
Sachin,
Sure, here is the related code I use:
# get a probe
alpha = 0.001
thresh = 30
self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha)
# connect usrp to the probe
self._fg.connect(self.u, self.probe)
# wait until the medium is free
while
Hi Zhenghao,
Thank you for your valuable reply. I appreciate it. As per your supplied
information, I will start looking for CSMA code in tunnel.py, though if you
can send me your code, it will be quite helpful too. I hope that using
tunnel.py code and help from you I will be able to get the
Hi,
As per the current status of GNU Radio, I got to know that there is no MAC
(CSMA) implementation. Therefore I am not sure if I can get the signal from
signal processing blocks of GNU Radio about the carrier sensed by USRP
receiver.
Please help me in this regard.
Till now I am able to locate
Sachin,
I don't know if this is helpful, just sharing my experience.
1. You may want to check tunnel.py, in which there is a CSMA scheme --
Eric told me this a couple of weeks ago.
2. It is possible to do some carrier sensing by ourself. You can just
read the signal from the USRP and compare the