On 07/02/2018 08:35 PM, Kip McAtee via USRP-users wrote:
Greetings-
What is the proper way to configure UHD recv() on an E310 to read
packetized data for and adhoc network?
Call recv() in a loop on a dedicated thread and decode in a separate
thread?
Use STREAM_MODE_START_CONTINUOUS?
What about the one_packet boolean?
Thanks-
Kip
As far as UHD is concerned, a "packet" is just a packet of samples, and
they have no higher-level semantic meaning than that.
It is typically the case that you have at least a couple of threads--one
pulling the sample stream, and another demodulating and
decoding, but architecture is up to you.
A "packet" of samples will bear only a very very coarse relationship to
a "packet" of bits.
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com