Re: Text file transmission using GNU radio/SDR X300

2024-07-10 Thread Steve Hageman
Hello Fazal - Ahhh, the old file incompatibility issues. Its 2024 and we 
still have them. ;-)


A couple of thoughts,

1) You can look into the existing file sink and source blocks to see if 
it is easy to change the encoding, then make your own out-of-tree block 
with the result.


2) You can make your own file source and sink block with a Embedded 
Python Block that encodes/decodes the text as per this stackexchange 
question.

https://stackoverflow.com/questions/48602087/how-to-open-macos-text-file-correctly-on-win

3) You can use the basic idea of #2 above to pre/post process you block 
after the file sink / source blocks finish with an external python program.


Hope this helps.

Steve Hageman

On 7/9/2024 6:34 AM, Fazal Muhammad Ali Khan via GNU Radio, the Free & 
Open-Source Toolkit for Software Radio wrote:

Dear GNU Radio Community,

I am transmitting a text file (alphanumeric file) through USRP X300 
and am receiving it at the other host. The text file received is 
sometimes ANSI, Macintosh (UTF-16, LF format, etc).


I have tried various methods to overcome the error but to no avail. 
Attached are the screenshots for both the transmitter and receiver.


Thanks in advance for your assistance

Regards
Fazal



--
Best regards,

Steve Hageman



Release Candidate v3.10.11.0-rc1

2024-07-10 Thread Jeff Long
GNU Radio Release Candidate v3.10.11.0-rc1 is available (
https://github.com/gnuradio/gnuradio/releases/tag/v3.10.11.0-rc1). Give it
a spin and let us know about any regressions.


Re: Text file transmission using GNU radio/SDR X300

2024-07-10 Thread Fazal Muhammad Ali Khan
Hi Steve,

Thank you for your reply. I will try the steps and post in the community if
it works.

Thanks once again

BR


On Wed, Jul 10, 2024 at 8:24 PM Steve Hageman 
wrote:

> Hello Fazal - Ahhh, the old file incompatibility issues. Its 2024 and we
> still have them. ;-)
>
> A couple of thoughts,
>
> 1) You can look into the existing file sink and source blocks to see if
> it is easy to change the encoding, then make your own out-of-tree block
> with the result.
>
> 2) You can make your own file source and sink block with a Embedded
> Python Block that encodes/decodes the text as per this stackexchange
> question.
>
> https://stackoverflow.com/questions/48602087/how-to-open-macos-text-file-correctly-on-win
>
> 3) You can use the basic idea of #2 above to pre/post process you block
> after the file sink / source blocks finish with an external python program.
>
> Hope this helps.
>
> Steve Hageman
>
> On 7/9/2024 6:34 AM, Fazal Muhammad Ali Khan via GNU Radio, the Free &
> Open-Source Toolkit for Software Radio wrote:
> > Dear GNU Radio Community,
> >
> > I am transmitting a text file (alphanumeric file) through USRP X300
> > and am receiving it at the other host. The text file received is
> > sometimes ANSI, Macintosh (UTF-16, LF format, etc).
> >
> > I have tried various methods to overcome the error but to no avail.
> > Attached are the screenshots for both the transmitter and receiver.
> >
> > Thanks in advance for your assistance
> >
> > Regards
> > Fazal
>
>
> --
> Best regards,
>
> Steve Hageman
>
>

-- 
Engr. Fazal Muhammad Ali Khan
Ph.D. Candidate,
SEECS,NUST,
Islamabad, Pakistan