discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to send a complete file


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] how to send a complete file
Date: Wed, 6 Jan 2016 21:36:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Ekko,

as Michael said, if you need arbitrary lengths of data to be complete, that would be at least one layer up the network layer model; you'll need to ensure your data fits into packets perfectly.

Best regards,
Marcus

On 06.01.2016 19:26, Michael Berman wrote:

Ekko,

 

It has been a while since I have dealt with this kind of issue with the digital coms, but I have run into this.  The problem I found was that there was not enough data in the file to feed the packetizer properly.  There are probably several work arounds for this, but the simplest would be to pad the data up to the exact amount the packetizer needs to generate the packets and send them along.  You can check if this is the case by varying the size of your file.  If you change the number of bytes in the file, you should see the amount left out varying; if you add bytes slowly you should see a breakover point near a multiple of the number of bits the packetizer needs that will create a small or no amount of data not transmitted.

 

Michael

 

From: address@hidden [mailto:address@hidden] On Behalf Of Ekko
Sent: Wednesday, January 06, 2016 9:01 AM
To: address@hidden
Subject: [Discuss-gnuradio] how to send a complete file

 

hello

 

I'm using gnuradio to simulation the gmsk tx/rx with a file

this is my grc

 

you can see ,i am using a file_sink and file_source,

the file_source is set to not repeat,i want to send this file ony one time.

 

and my source file‘s size is 140KB

 

after i run this grc (i am sure the send is stop )

 

i check the dest file,the size of whitch is 139.3KB

 

then i compare two file

just like


we can see that some data is lost(exactly 22 lines)

so i want to know how can i send a complete file, just i send 140KB,and recieved 140KB,

then stop.

 

 

thank you

 

-Ekko​



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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]