Agreed, but as soon as device setup is through with your device (thus
the "properly configured character device") and your reading program
behaves nicely (which I'd expect GR's file_sink to do), just reading
from a character device should work, if I'm not mistaken.

However, this brings us to a new question: "serial" doesn't really say
what kind of interface we're talking about; there's a whole lot of bytes
that you can not send over a 1980's style UART as used for the RS-232
peripheral on PCs, and thus the data that comes in over that has to be
decoded first; you could write a block that converts these bytes to
bytes, or, and this is more likely, you already have software that does
that, and writes the result to a file, or prints it on standard output.
You could then connect the output of that to GNU Radio, e.g. using a
named pipe.

On 29.10.2014 00:21, Marcus D. Leech wrote:
> On 10/28/2014 06:34 PM, Marcus Müller wrote:
>> Hi Julian,
>> this really depends on how your serial data gets into your PC, but
>> assuming you're on linux and have the data coming in over a properly
>> configured character device (ie. something that appears as /dev/ttyS*
>> or the like), you could just use the file source and open that device.
>>
>> Greetings,
>> Marcus
> TTY I/O on Unix is a bit weird.  You'd have to open it, and configure
> it (into RAW mode for one).
>
>
>> On 28.10.2014 19:35, Julián Andrés Quenardelle wrote:
>>> Hey there! i'm working on a proyect of comunications and i need to
>>> get my
>>> serial data stream into gnuradio companion, so i'm looking for a
>>> block (2
>>> actually) that can make this work, i tried to install pyserial and
>>> gr-pyserial but repository is down, so i'm looking for alternatives,
>>> that
>>> make me skip programming it myself (becoues of my low programing
>>> skills ),
>>> so i though serial port is pretty comun, some one else had to build it
>>> before, if you know some blocks which could help me i would be very
>>> thankfull
>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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

Reply via email to