|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] (no subject) |
Date: | Thu, 03 Jul 2014 08:41:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi GP, ofdm_loopback.grc covers only the physical aspects of the transmission. What you are describing is a flow control problem; you'd need to figure out yourself how to make your data stream fit into the packets. A typical way would be to send the length of your file, and then just fill up the last packet with random data/redundancy/zeros; however, what will happen if you lose one packet? In a real-world application, you'll have some content header, you'd have channel coding/FEC, possibly some ARQ scheme, in case of multiple users a MAC etc; whereas you "only" stream bits out of a file. Complete, versatile transmission systems is what people build atop of transmission systems such as the GNU Radio-supplied OFDM packet transmitters (which primarily serve as good examples and showcases for the mechanisms involved). Hope that was a little helpful, Greetings, Marcus On 03.07.2014 00:01, GP 2014 wrote:
When I ran the example ofdm_loopback.grc, i used a file source to send data through the transmitter and checked the output after the receiver in a file sink ; i found that if the packet required to be sent is less than the defined packet_length ; then the packet is not sent ? how to send the last packet in this case ? |
[Prev in Thread] | Current Thread | [Next in Thread] |