On Tue, Dec 10, 2013 at 10:45 AM, Pietro Luigi Carotenuto
<[email protected]> wrote:
> Ok, but how to know if BeagleBoard can send/receive a file from my PC?

Maybe I'm not understanding your question, but the lrz/lsz utilities
run on Linux so they'll run on the BeagleBoard once you've installed
them. They send or receive over stdout and stdin. On the PC side, you
either run lrz/lsz, or if you're running Windows, your terminal
program probably supports ZMODEM.

> Which are the ways to do it?
> I'm using the serial as stdout.
> And then, which is the C code to do that?

I've never tried to integrate ZMODEM code directly into a program of
mine. It seems easier to have your program start up lrz or lsz when
they're needed.

Frank
>
> Thank you, really
>
> Il giorno martedì 10 dicembre 2013 16:29:32 UTC+1, Frank Hunleth ha scritto:
>>
>> On Tue, Dec 10, 2013 at 10:18 AM, Pietro Luigi Carotenuto
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I need to transfer files from BB to my host PC via serial.
>> >
>> > I know that usually zmodem is used, but
>> >
>> > 1) how to know if zmodem is installed?
>>
>> Take a look at the lrzsz package. I've seen the command line utilities
>> installed as "lrz" and "lsz" or just as "rz" and "sz" depending on the
>> Linux distro.
>>
>> >
>> > 2) Which is the C code in order to execute the file transfer process?
>> >
>> > Thank you in advance,
>> > Pietro
>> >
>> > --
>> > For more options, visit http://beagleboard.org/discuss
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "BeagleBoard" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to