You are not logged in.
When the channel is set to some frequency using "warpphy_setChannel(GHZ_2, newChan)" , then only we can do carrier sensing using " warpmac_carrierSense() " function. One doubt here .
Can we do carrier sensing with out setting the channel as the particular channel ?
I want to do carrier sensing in all the frequencies. Then i have to set the channel to all the 14 frequencies and do the carrier sensing for all the frequencies as per your code. Is there anyway to avoid setting the frequency before doing the carrier sensing?
Another doubt :: does the "warpmac_carrierSense() " function do the " energy detection" of the received samples?
Please clarify these doubts.
Thanks,
kalpana
Offline
Carrier sensing is simply energy detection on the currently tuned band. You'll have to loop through channels and sense energy in the medium to do what you want.
Offline